You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by vijayvaleti <vv...@gmail.com> on 2011/06/13 17:18:09 UTC
SOAP/JMS Websphere issue
Hi,
I am using the following configuration file for SOAP/JMS for spring on
websphere 6.1 server
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation=" http://www.springframework.org/schema/beans
ttp://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://cxf.apache.org/transports/jms
ttp://cxf.apache.org/schemas/configuration/jms.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-jms.xml" />
<bean id="inquiryProxyFactory"
class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass"
value="com.fifththird.host.datasource.tsys1.xmlm.TSYSXMLMessagingInquiry"
/>
<property name="address" value="jms://" />
<property name="features">
<list>
<bean class="org.apache.cxf.feature.LoggingFeature" />
<bean class="org.apache.cxf.transport.jms.JMSConfigFeature"
p:jmsConfig-ref="jmsConfig" />
</list>
</property>
</bean>
<bean id="inquiryClient"
class="com.fifththird.host.datasource.tsys1.xmlm.TSYSXMLMessagingInquiry"
factory-bean="inquiryProxyFactory" factory-method="create" />
<bean id="jmsConfig"
class="org.apache.cxf.transport.jms.JMSConfiguration">
<property name="targetDestination"
value="jms/HostIntegration/TSYS1XMLMInquiryOutputQueue" />
<property name="replyDestination"
value="jms/HostIntegration/TSYS1XMLMInputRemoteQueue" />
<property name="connectionFactory" ref="jmsConnectionFactory" />
<property name="wrapInSingleConnectionFactory" value="false" />
<property name="destinationResolver" ref="jmsDestResolver" />
<property name="reconnectOnException" value="false" />
<property name="useJms11" value="true" />
<property name="pubSubDomain" value="false" />
<property name="concurrentConsumers" value="1" />
<property name="maxConcurrentConsumers" value="10" />
<property name="sessionTransacted" value="false" />
</bean>
<jee:jndi-lookup id="myTargetConnectionFactory"
jndi-name="jms/HostIntegration/QueueConnectionFactory" />
<bean id="jmsConnectionFactory"
class="org.springframework.jms.connection.SingleConnectionFactory">
<property name="targetConnectionFactory"
ref="myTargetConnectionFactory" />
</bean>
<bean id="jmsDestResolver"
class="org.springframework.jms.support.destination.JndiDestinationResolver"
/>
</beans>
I am getting the following exception while sending the messages.
Cannot convert value of type
[com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle] to required type
[javax.jms.ConnectionFactory] for property 'targetConnectionFactory': no
matching editors or conversion strategy found
Can some one help in what i am doing wrong in the above example , Any help
would be apperciated.
--
View this message in context: http://cxf.547215.n5.nabble.com/SOAP-JMS-Websphere-issue-tp4484711p4484711.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: SOAP/JMS CXF websphere configuration file help
Posted by vijayvaleti <vv...@gmail.com>.
How to specify the timeouts for the queues reply and destination queues.
--
View this message in context: http://cxf.547215.n5.nabble.com/SOAP-JMS-CXF-websphere-configuration-file-help-tp4484711p4485591.html
Sent from the cxf-user mailing list archive at Nabble.com.