Announcement Announcement Module
No announcement yet.
JMS web services - configuration and deployment Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS web services - configuration and deployment

    Hi All,

    I am in the process of creating web services using JMS transport, and I have a few questions.

    I have the beans configured like this in *servlet.xml (taken from chapter 5 of Spring web services - reference documentation, under section JMS Transport.)

        <bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
            <property name="brokerURL" value="vm://localhost?broker.persistent=false"/>
        <bean id="messageFactory" class=""/>
        <bean class="org.springframework.jms.listener.DefaultMessageListenerContainer">
            <property name="connectionFactory" ref="connectionFactory"/>
            <property name="destinationName" value="RequestQueue"/>
            <property name="messageListener">
                <bean class="">
                    <property name="messageFactory" ref="messageFactory"/>
                    <property name="messageReceiver" ref="messageDispatcher"/>
    But I have some fundamental questions about JMS web services:
    1. Where do I deploy the war from this web app?
    2. How do I access the WSDL? What would be the URL for the WSDL?
    3. This configures a request queue. Could I use a topic?
    4. Would the response go on a queue as well? Where is that configured? Could I use a topic for that too?

    Thank you so much for your help!