I am try to expose a webservice via SOAP/JMS using Apache CXF, Apache Camel
(V2.9.0) and Spring. I am able to consume the SOAP request message from the
Destination and able to process the message, but not able to send the
response message to the ReplyToQueue. I am using Websphere MQ and WAS7.
The following is my Spring CXF Configuration.
<cxf:cxfEndpoint id="curDayTransJmsEndpoint"
address="jmsmq://jndi:${chreqQ}?testConnectionOnStartup=${testQConnection};replyTo=${chresQ}"
xmlns:ns2="http://services.com.abc/ViewDetails/Binding2"
serviceName="ns2:ViewDetails_ViewDetailsJmsService"
endpointName="ViewDetailsJmsPort"
serviceClass="com.abc.ws.service.ViewDetailsTransactions">
<cxf:properties>
<entry key="schema-validation-enabled"
value="${schema-validations}" />
</cxf:properties>
<cxf:inInterceptors>
<ref bean="criticalErrMsgInterceptor" />
</cxf:inInterceptors>
<cxf:features>
<bean
class="org.apache.cxf.transport.jms.JMSConfigFeature">
<property name="jmsConfig">
<bean
class="org.apache.cxf.transport.jms.JMSConfiguration">
<property
name="connectionFactory" ref="jmsMqCF" />
<property
name="wrapInSingleConnectionFactory" value="false" />
<property
name="sessionTransacted" value="true" />
<property
name="transactionManager" ref="jtaTransactionManager" />
<property name="cacheLevelName"
value="CACHE_NONE" />
<property name="useJms11"
value="true" />
<property
name="autoResolveDestination" value="true" />
<property
name="destinationResolver" ref="jmsMqDestinationResolver" />
<property
name="targetDestination" value="${chreqQ}" />
<property
name="maxConcurrentConsumers" value="${threadCount}"/>
</bean>
</property>
</bean>
</cxf:features>
</cxf:cxfEndpoint>
I tried removing "replyTo=${chresQ}" in the address. Can anyone validate my
configuration and help me out how to use ReplyTOQueue parameter to send the
response using CXF.
--
View this message in context:
http://camel.465427.n5.nabble.com/CXF-SOAP-JMS-ReplyToQueue-issue-tp5718356.html
Sent from the Camel Development mailing list archive at Nabble.com.