Results 1 to 1 of 1

Thread: JMS Listener Container with many MessageConverter

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Default JMS Listener Container with many MessageConverter

    Hi,

    I have a jms-container and I want to specify two messageconverter how?

    Code:
    <bean id="conveter1" class="test.test.MessageConverter1" />
    <bean id="converter2" class="test.test.MessageConverter2" />
    
    <jms:listener-container  connection-factory="jmsConnectionFactory" destination-resolver="destinationResolver" concurrency="10">
       		<jms:listener  destination="jms/QL1" ref="messageListener1" />
      		<jms:listener destination="jms/QL2" ref="messageListener2" />
    	</jms:listener-container>
    jms:listener-container only lets me define a message-converter

    thanks
    Last edited by Sucram; Jan 11th, 2011 at 03:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •