Class GrouperMessageSendParam

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

public class GrouperMessageSendParam extends Object
param for sending a message
  • Constructor Details

    • GrouperMessageSendParam

      public GrouperMessageSendParam()
  • Method Details

    • assignRoutingKey

      public GrouperMessageSendParam 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 GrouperMessageSendParam 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
    • assignGrouperMessageSystemParam

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

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

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

      public GrouperMessageSendParam assignGrouperMessageQueueParam(GrouperMessageQueueParam theGrouperMessageQueueParam)
      Parameters:
      theGrouperMessageQueueParam -
      Returns:
      this for chaining
    • assignQueueOrTopicName

      public GrouperMessageSendParam assignQueueOrTopicName(String theQueueOrTopicName)
      assign queue or topic to send the message to
      Parameters:
      theQueueOrTopicName -
      Returns:
      this for chaining
    • assignQueueType

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

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

      public GrouperMessageSendParam addMessageBody(String theMessageBody)
      message body for the message
      Parameters:
      theMessageBody -
      Returns:
      this for chaining
    • getGrouperMessageSystemParam

      public GrouperMessageSystemParam getGrouperMessageSystemParam()
      Returns:
      the grouperMessageSystemParam
    • getGrouperMessageQueueParam

      public GrouperMessageQueueParam getGrouperMessageQueueParam()
      Returns:
      the grouperMessageQueueParam
    • assignMessageBodies

      public GrouperMessageSendParam assignMessageBodies(Collection<String> theMessageBodies)
      assign multiple message bodies
      Parameters:
      theMessageBodies -
      Returns:
      this for chaining
    • addGrouperMessage

      public GrouperMessageSendParam addGrouperMessage(GrouperMessage theGrouperMessage)
      add a grouper message to send
      Parameters:
      theGrouperMessage -
      Returns:
      this for chaining
    • assignGrouperMessages

      public GrouperMessageSendParam assignGrouperMessages(Collection<GrouperMessage> theGrouperMessages)
      assign grouper messages to send
      Parameters:
      theGrouperMessages -
      Returns:
      this for chaining
    • getGrouperMessages

      public Collection<GrouperMessage> getGrouperMessages()
      get the grouper messages
      Returns:
      messages