Skip to main content

URI-style SOAP over JMS configuration

To use SOAP over JMS with Talend ESB, the following dependency shoud be added to the service:

pom.xml

<dependency>
    <groupId>org.talend.esb</groupId>
    <artifactId>transport-jms</artifactId>
    <version>${project.version}</version>
</dependency>

After adding the dependency, it is possible to configure CXF with URI-style SOAP over JMS addresses. This dependency is optional.

Example of URI-style SOAP over JMS configuration

...

<jaxws:endpoint xmlns:library="http://services.talend.org/demos/Library/1.0"
        id="LibraryNotificationReceiver" address="jms:jndi-topic:dynamicTopics/newBooksTopic.topic?jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp
;jndiConnectionFactoryName=ConnectionFactory&amp;jndiURL=tcp://localhost:61616"
        serviceName="library:LibraryProvider" endpointName="library:LibraryTopicPort"
        implementor="org.talend.services.demos.client.LibraryNotificationReceiverImpl">

        <jaxws:features>
            <bean class="org.apache.cxf.ws.addressing.WSAddressingFeature"/>
        </jaxws:features>
</jaxws:endpoint>

For more information, see URI structure.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!