이 콘텐츠는 선택한 언어로 제공되지 않습니다.

D.2. Properties Specific to Generic Consumers and SOAP Consumers


Common Attributes

The attributes described in Table D.3, “Attributes Uses to Configure Standard JMS Consumers and SOAP JMS Consumers” are specific to the jms:consumer element and the jms:soap-consumer elements.
Expand
Table D.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)

Common Beans

The elements described in Table D.4, “Elements Uses to Configure Standard JMS Consumers and SOAP JMS Consumers” are specific to the jms:consumer element and the jms:soap-consumer elements.
Expand
Table D.4. Elements Uses to Configure Standard JMS Consumers and SOAP JMS Consumers
ElementTypeListener(s)DescriptionRequired
destination Destination allSpecifies the destination used to receive messages.no
exceptionListener ExceptionListener allSpecifies an ExceptionListener to notify in case of a JMSException is thrown by the registered message listener or the invocation infrastructure.no
serverSessionFactory ServerSessionFactory serverSpecifies the ServerSessionFactory to use.no (defaults to SimpleServerSessionFactory)

SOAP consumer specific attributes

The attributes described in Table D.5, “Attributes for the JMS SOAP Consumer” are specific to the jms:soap-consumer element.
Expand
Table D.5. Attributes for the JMS SOAP Consumer
AttributeTypeDescriptionRequired
wsdlstringSpecifies the WSDL describing the service.yes
useJbiWrapperbooleanSpecifies if the JBI wrapper is sent in the body of the message.no (defaults to true)
validateWsdlbooleanSpecifies if the WSDL is checked WSI-BP compliance.no (defaults to true)
policiesPolicy[]Specifies a list of interceptors used to process the message.no
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat