Class GrouperMessageSendParam
java.lang.Object
edu.internet2.middleware.grouperClient.messaging.GrouperMessageSendParam
param for sending a message
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddGrouperMessage
(GrouperMessage theGrouperMessage) add a grouper message to sendaddMessageBody
(String theMessageBody) message body for the messageassignAutocreateObjects
(boolean theAutocreate) if objects should be auto created if not there, e.g.assignExchangeType
(String exchangeType) if the messaging system can use exchange type (e.g.assignGrouperMessageQueueParam
(GrouperMessageQueueParam theGrouperMessageQueueParam) assignGrouperMessages
(Collection<GrouperMessage> theGrouperMessages) assign grouper messages to sendassignGrouperMessageSystemName
(String theGrouperMessageSystemName) assign the grouper messaging systemassignGrouperMessageSystemParam
(GrouperMessageSystemParam theGrouperMessageSystemParam) assign th grouper message system paramassignMessageBodies
(Collection<String> theMessageBodies) assign multiple message bodiesassignQueueArguments
(Map<String, Object> queueArguments) assign extra queue argumentsassignQueueOrTopicName
(String theQueueOrTopicName) assign queue or topic to send the message toassignQueueType
(GrouperMessageQueueType grouperMessageQueueType) assign if queue or topicassignRoutingKey
(String theRoutingKey) if the messaging system can use a routing key (e.g.if the messaging system can use exchange type (e.g.get the grouper messagesif the messaging system can use a routing key (e.g.
-
Constructor Details
-
GrouperMessageSendParam
public GrouperMessageSendParam()
-
-
Method Details
-
assignRoutingKey
if the messaging system can use a routing key (e.g. rabbitmq), set it here- Parameters:
theRoutingKey
-- Returns:
- this for chaining
-
getRoutingKey
if the messaging system can use a routing key (e.g. rabbitmq), set it here- Returns:
- the routing key
-
assignExchangeType
if the messaging system can use exchange type (e.g. rabbitmq), set it here- Parameters:
exchangeType
-- Returns:
- this for chaining
-
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
assign the grouper messaging system- Parameters:
theGrouperMessageSystemName
-- Returns:
- this for chaining
-
assignAutocreateObjects
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
assign queue or topic to send the message to- Parameters:
theQueueOrTopicName
-- Returns:
- this for chaining
-
assignQueueType
assign if queue or topic- Parameters:
grouperMessageQueueType
-- Returns:
- this for chaining
-
assignQueueArguments
assign extra queue arguments- Parameters:
queueArguments
-- Returns:
- this for chaining
-
addMessageBody
message body for the message- Parameters:
theMessageBody
-- Returns:
- this for chaining
-
getGrouperMessageSystemParam
- Returns:
- the grouperMessageSystemParam
-
getGrouperMessageQueueParam
- Returns:
- the grouperMessageQueueParam
-
assignMessageBodies
assign multiple message bodies- Parameters:
theMessageBodies
-- Returns:
- this for chaining
-
addGrouperMessage
add a grouper message to send- Parameters:
theGrouperMessage
-- Returns:
- this for chaining
-
assignGrouperMessages
assign grouper messages to send- Parameters:
theGrouperMessages
-- Returns:
- this for chaining
-
getGrouperMessages
get the grouper messages- Returns:
- messages
-