Class GrouperMessageReceiveParam
java.lang.Object
edu.internet2.middleware.grouperClient.messaging.GrouperMessageReceiveParam
method chaining receive message config
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignAutocreateObjects(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. rabbitmq), set it hereassignGrouperMessageQueueParam(GrouperMessageQueueParam theGrouperMessageQueueParam) assignGrouperMessageSystemName(String theGrouperMessageSystemName) assign the grouper messaging systemassignGrouperMessageSystemParam(GrouperMessageSystemParam theGrouperMessageSystemParam) assign th grouper message system paramassignLongPollMillis(int theLongPollMillis) how many milliseconds to long poll for a responseassignMaxMessagesToReceiveAtOnce(int theMaxMessagesToReceiveAtOnce) maximum number of messages to receive at onceassignQueueArguments(Map<String, Object> queueArguments) assign extra queue argumentsassignQueueName(String theQueueName) 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. rabbitmq), set it hereif the messaging system can use exchange type (e.g. rabbitmq)how many milliseconds to long poll for a responsemaximum number of messages to receive at onceif the messaging system can use a routing key (e.g. rabbitmq), set it here
-
Constructor Details
-
GrouperMessageReceiveParam
public GrouperMessageReceiveParam()
-
-
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
-
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
how many milliseconds to long poll for a response- Returns:
- the longPollMilis
-
assignLongPollMillis
how many milliseconds to long poll for a response- Parameters:
theLongPollMillis-- 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
-
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
assign queue or topic to send the message to- Parameters:
theQueueName-- 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
-
getGrouperMessageQueueParam
- Returns:
- the grouperMessageQueueParam
-
getGrouperMessageSystemParam
- Returns:
- the grouperMessageSystemParam
-