Announcement Announcement Module
No announcement yet.
Spring2 5.3.3. JMS transport still available in spring3? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring2 5.3.3. JMS transport still available in spring3?

    Is the following code still able to u

    5.3.3. JMS transport
    Spring Web Services supports server-side JMS handling through the JMS functionality provided in the Spring framework. Spring Web Services provides the WebServiceMessageListener to plug in to a MessageListenerContainer. This message listener requires a WebServiceMessageFactory to and MessageDispatcher to operate. The following piece of configuration shows this:

    <bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFacto ry">
    <property name="brokerURL" value="vm://localhost?broker.persistent=false"/>

    <bean id="messageFactory" class=" ssageFactory"/>

    <bean class="org.springframework.jms.listener.DefaultMes sageListenerContainer">
    <property name="connectionFactory" ref="connectionFactory"/>
    <property name="destinationName" value="RequestQueue"/>
    <property name="messageListener">
    <bean class=" viceMessageListener">
    <property name="messageFactory" ref="messageFactory"/>
    <property name="messageReceiver" ref="messageDispatcher"/>

    <bean id="messageDispatcher" class=" ageDispatcher">
    <property name="endpointMappings">
    class=" ing.PayloadRootAnnotationMethodEndpointMapping">
    <property name="defaultEndpoint">
    <bean class="com.example.MyEndpoint"/>

  • #2
    Please use [ code][/code ] tags when posting code, that way it remains readable ...

    Why wouldn't it be possible anymore?! Classes are still there, have you tried it?!