Class GrouperMessageReceiveParam

java.lang.Object
edu.internet2.middleware.grouperClient.messaging.GrouperMessageReceiveParam

public class GrouperMessageReceiveParam extends Object
method chaining receive message config
  • Constructor Details

    • GrouperMessageReceiveParam

      public GrouperMessageReceiveParam()
  • Method Details

    • assignRoutingKey

      public GrouperMessageReceiveParam assignRoutingKey(String theRoutingKey)
      if the messaging system can use a routing key (e.g. rabbitmq), set it here
      Parameters:
      theRoutingKey -
      Returns:
      this for chaining
    • getRoutingKey

      public String getRoutingKey()
      if the messaging system can use a routing key (e.g. rabbitmq), set it here
      Returns:
      the routing key
    • assignExchangeType

      public GrouperMessageReceiveParam assignExchangeType(String exchangeType)
      if the messaging system can use exchange type (e.g. rabbitmq), set it here
      Parameters:
      exchangeType -
      Returns:
      this for chaining
    • getExchangeType

      public String getExchangeType()
      if the messaging system can use exchange type (e.g. rabbitmq)
      Returns:
      exchange type
    • getMaxMessagesToReceiveAtOnce

      public Integer getMaxMessagesToReceiveAtOnce()
      maximum number of messages to receive at once
      Returns:
      the maxMessagesToReceiveAtOnce
    • assignMaxMessagesToReceiveAtOnce

      public GrouperMessageReceiveParam assignMaxMessagesToReceiveAtOnce(int theMaxMessagesToReceiveAtOnce)
      maximum number of messages to receive at once
      Parameters:
      theMaxMessagesToReceiveAtOnce -
      Returns:
      this for chaining
    • getLongPollMilis

      public Integer getLongPollMilis()
      how many milliseconds to long poll for a response
      Returns:
      the longPollMilis
    • assignLongPollMillis

      public GrouperMessageReceiveParam assignLongPollMillis(int theLongPollMillis)
      how many milliseconds to long poll for a response
      Parameters:
      theLongPollMillis -
      Returns:
      this for chaining
    • assignAutocreateObjects

      public GrouperMessageReceiveParam assignAutocreateObjects(boolean theAutocreate)
      if objects should be auto created if not there, e.g. queues, topics, privileges
      Parameters:
      theAutocreate -
      Returns:
      this for chaining
    • assignGrouperMessageSystemName

      public GrouperMessageReceiveParam assignGrouperMessageSystemName(String theGrouperMessageSystemName)
      assign the grouper messaging system
      Parameters:
      theGrouperMessageSystemName -
      Returns:
      this for chaining
    • assignGrouperMessageQueueParam

      public GrouperMessageReceiveParam assignGrouperMessageQueueParam(GrouperMessageQueueParam theGrouperMessageQueueParam)
      Parameters:
      theGrouperMessageQueueParam -
      Returns:
      this for chaining
    • assignGrouperMessageSystemParam

      public GrouperMessageReceiveParam assignGrouperMessageSystemParam(GrouperMessageSystemParam theGrouperMessageSystemParam)
      assign th grouper message system param
      Parameters:
      theGrouperMessageSystemParam -
      Returns:
      this for chaining
    • assignQueueName

      public GrouperMessageReceiveParam assignQueueName(String theQueueName)
      assign queue or topic to send the message to
      Parameters:
      theQueueName -
      Returns:
      this for chaining
    • assignQueueType

      public GrouperMessageReceiveParam assignQueueType(GrouperMessageQueueType grouperMessageQueueType)
      assign if queue or topic
      Parameters:
      grouperMessageQueueType -
      Returns:
      this for chaining
    • assignQueueArguments

      public GrouperMessageReceiveParam assignQueueArguments(Map<String,Object> queueArguments)
      assign extra queue arguments
      Parameters:
      queueArguments -
      Returns:
      this for chaining
    • getGrouperMessageQueueParam

      public GrouperMessageQueueParam getGrouperMessageQueueParam()
      Returns:
      the grouperMessageQueueParam
    • getGrouperMessageSystemParam

      public GrouperMessageSystemParam getGrouperMessageSystemParam()
      Returns:
      the grouperMessageSystemParam