Can I have a look at your camel route configure?
What's your message exchange pattern ?
Willem
omarito wrote:
HI to all,
I am having some difficulties getting back the response received on the
ReplyTo queue from our Websphere MQ Server. Using the MQ explorer I see the
message in the ReplyTo queue but my JMS comsumer is not picking it up.
Please find below my spring configuration:
<bean id="jmsEndpoint"
class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory" ref="myProxyConnectionFactory"/>
<property name="useVersion102" value="true"/>
<property name="acknowledgementModeName" value="AUTO_ACKNOWLEDGE"/>
<property name="camelContext" ref="camelContext"/>
<property name="destinationResolver">
<bean
class="com.xxx.xxx.xxx.camel.endpoint.CustomDestinationResolver"/>
</property>
<property name="transacted" value="true"/>
<property name="transactionManager" ref="jmsTransactionManager"/>
</bean>
<bean id="jmsTransactionManager"
class="org.springframework.jms.connection.JmsTransactionManager102">
<property name="connectionFactory" ref="proxyConnectionFactory"/>
<property name="pubSubDomain" value="false"/>
</bean>
<bean id="proxyConnectionFactory"
class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
<property name="targetConnectionFactory"
ref="jmsConnectionFactory"/>
<property name="username" value="${jms.endpoint.user}"/>
<property name="password" value="${jms.endpoint.password}"/>
</bean>
<bean id="jmsConnectionFactory"
class="com.ibm.mq.jms.MQQueueConnectionFactory">
<property name="transportType">
<util:constant
static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP"/>
</property>
<property name="queueManager" value="${jms.endpoint.queueManager}"/>
<property name="channel" value="${jms.endpoint.channel}"/>
<property name="hostName" value="${jms.endpoint.host}"/>
<property name="port" value="${jms.endpoint.port}"/>
</bean>
Any help will be gladly appreciated. Thanks in advance.