THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ct="http://cxf.apache.org/configuration/types" xmlns:jms="http://cxf.apache.org/transports/jms" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <jms:conduit name="{ http://cxf.apache.org/jaxws http://cxf.apache.org/jms_endpt}HelloWorldJMSPort.jms-conduit">/schemas/jaxws.xsd <jms:address destinationStyle="queue" jndiConnectionFactoryName="myConnectionFactory" jndiDestinationName="myDestination" jndiReplyDestinationName="myReplyDestination" http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd"> <jms:conduit name="{http://cxf.apache.org/jms_endpt}HelloWorldJMSPort.jms-conduit"> <jms:address destinationStyle="queue" connectionUserNamejndiConnectionFactoryName="testUsermyConnectionFactory" connectionPasswordjndiDestinationName="testPasswordmyDestination"> <jms:JMSNamingProperty name="java.naming.factory.initial" jndiReplyDestinationName="myReplyDestination" value="org.apache.cxf.transport.jms.MyInitialContextFactory"/connectionUserName="testUser" connectionPassword="testPassword"> <jms:JMSNamingProperty name="java.naming.providerfactory.urlinitial" value="tcp://localhost:61616org.apache.cxf.transport.jms.MyInitialContextFactory"/> </jms:address> </<jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/> </jms:address> </jms:conduit> </beans> |
Consumer Endpoint Configuration
...
Code Block | ||
---|---|---|
| ||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ct="http://cxf.apache.org/configuration/types" xmlns:jms <beans xmlns="http://wwwcxf.springframeworkapache.org/schematransports/beansjms" xmlnsxsi:xsischemaLocation="http://www.w3springframework.org/schema/beans http://www.springframework.org/2001schema/beans/XMLSchema-instance" spring-beans.xsd" xmlns:ct="http://cxf.apache.org/configuration/types" xmlns:jms="jaxws http://cxf.apache.org/transports/jms" schemas/jaxws.xsd xsi:schemaLocation=" http://wwwcxf.springframeworkapache.org/schematransports/beansjms http://wwwcxf.springframeworkapache.org/schemaschemas/beansconfiguration/spring-beansjms.xsd"> ... <jms:conduit name="{http://cxf.apache.org/jms_endpt}HelloWorldJMSPort.jms-conduit"> <jms:address ... > ... </jms:address> <jms:runtimePolicy messageType="binary"/> ... </jms:conduit> ... </beans> |
...
Code Block | ||
---|---|---|
| ||
<beans xmlns="http://www.springframework.org/schema/beans/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ct="http://cxf.apache.org/configuration/types" xmlns:xsijms="http://wwwcxf.w3apache.org/2001transports/XMLSchema-instancejms" xmlnsxsi:ctschemaLocation="http://cxf.apachewww.springframework.org/schema/beans http://www.springframework.org/configuration/types" schema/beans/spring-beans.xsd" xmlns:jms="http://cxf.apache.org/jaxws http://cxf.apache.org/transports/jms"schemas/jaxws.xsd xsi:schemaLocation=" http://wwwcxf.springframeworkapache.org/schematransports/beansjms http://wwwcxf.springframeworkapache.org/schemaschemas/beansconfiguration/spring-beansjms.xsd"> ... <jms:destination name="{http://cxf.apache.org/jms_endpt}HelloWorldJMSPort.jms-destination"> <jms:address ... > ... </jms:address> ... <jms:runtimePolicy messageSelector="cxf_message_selector" useMessageIDAsCorrelationID="true" transactional="true" durableSubscriberName="cxf_subscriber" /> ... </jms:destination> ... </beans> |
...