LibraryLink ToToggle FramesPrintFeedback

Properties Specific to Generic Consumers and SOAP Consumers

The attributes described in Table A.3 are specific to the jms:consumer element and the jms:soap-consumer elements.

Table A.3. Attributes Uses to Configure Standard JMS Consumers and SOAP JMS Consumers

AttributeTypeListener(s)DescriptionRequired
listenerType string allSpecifies the type of Spring JMS message listener to use. Valid values are default, simple, and server.no (defaults to default)
transacted string allSpecifies the type of transaction used to wrap the message exchanges. Valid values are none, xa, and jms.no (defaults to none)
clientId string allSpecifies the JMS client id for a shared Connection created and used by this listener.no
destinationName string allSpecifies the name of the destination used to receive messages.no
durableSubscriptionName string allSpecifies the name used to register the durable subscription.no
messageSelector string allSpecifies the message selector string to use.no
sessionAcknowlegeMode int allSpecifies the acknowledgment mode that is used when creating a Session to send a message.no (defaults to Session.AUTO_ACKNOWLEDGE)
subscriptionDurable boolean allSpecifies if the listener uses a durable subscription to listen form messages.no (defaults to false)
pubSubNoLocal boolean

default

simple

Specifies if messages published by the listener's Connection are suppressed.no (defaults to false)
concurrentConsumers int

default

simple

Specifies the number of concurrent consumers created by the listener.no (defaults to 1)
cacheLevel int defaultSpecifies the level of caching allowed by the listener.no (defaults to 0)
receiveTimeoutlongdefaultSpecifies the timeout for receiving a message in milliseconds.no (default is 1000)
recoveryInterval long defaultSpecifies the interval, in milliseconds, between attempts to recover after a failed listener set-up.no (defaults to 5000)
maxMessagesPerTask int

default

server

Specifies the number of attempts to receive messages per task.no (defaults to -1)

The elements described in Table A.4 are specific to the jms:consumer element and the jms:soap-consumer elements.


The attributes described in Table A.5 are specific to the jms:soap-consumer element.