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
| Attribute | Type | Listener(s) | Description | Required |
|---|---|---|---|---|
listenerType
| string | all | Specifies the type of Spring JMS message listener to use. Valid values are default, simple, and server. | no (defaults to default) |
transacted
| string | all | Specifies the type of transaction used to wrap the message exchanges. Valid values are none, xa, and jms. | no (defaults to none) |
clientId
| string | all | Specifies the JMS client id for a shared Connection created and used by this listener. | no |
destinationName
| string | all | Specifies the name of the destination used to receive messages. | no |
durableSubscriptionName
| string | all | Specifies the name used to register the durable subscription. | no |
messageSelector
| string | all | Specifies the message selector string to use. | no |
sessionAcknowlegeMode
| int | all | Specifies the acknowledgment mode that is used when creating a Session to send a message. | no (defaults to Session.AUTO_ACKNOWLEDGE) |
subscriptionDurable
| boolean | all | Specifies 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 | default | Specifies the level of caching allowed by the listener. | no (defaults to 0) |
receiveTimeout | long | default | Specifies the timeout for receiving a message in milliseconds. | no (default is 1000) |
recoveryInterval
| long | default | Specifies 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.
Table A.4. Elements Uses to Configure Standard JMS Consumers and SOAP JMS Consumers
| Element | Type | Listener(s) | Description | Required |
|---|---|---|---|---|
destination
|
Destination
| all | Specifies the destination used to receive messages. | no |
exceptionListener
|
ExceptionListener
| all | Specifies an ExceptionListener to notify in case of a JMSException is thrown by the registered message listener or the invocation infrastructure. | no |
serverSessionFactory
|
ServerSessionFactory
| server | Specifies the ServerSessionFactory to use. | no (defaults to SimpleServerSessionFactory) |
The attributes described in Table A.5 are specific to the jms:soap-consumer element.
Table A.5. Attributes for the JMS SOAP Consumer
| Attribute | Type | Description | Required |
|---|---|---|---|
wsdl | string | Specifies the WSDL describing the service. | yes |
useJbiWrapper | boolean | Specifies if the JBI wrapper is sent in the body of the message. | no (defaults to true) |
validateWsdl | boolean | Specifies if the WSDL is checked WSI-BP compliance. | no (defaults to true) |
policies | Policy[] | Specifies a list of interceptors used to process the message. | no |








