Results 1 to 8 of 8

Thread: Using web service gateways (ws:inbound-gateway and ws:outbound-gateway) with JMS

Threaded View

  1. #1
    Join Date
    Mar 2007
    Posts
    13

    Default Using web service gateways (ws:inbound-gateway and ws:outbound-gateway) with JMS

    Is there any way to use jms as a transport with spring-integration support for web services (ws:inbound-gateway and ws:outbound-gateway)?

    I am trying following configuration but it is not working as the publish-subscribe-channel doesn't use the outbound-gateway to send message.


    Code:
    <ws:outbound-gateway id="wsClientGateway" 
      uri="jms:${jndi.config.topic}?messageType=TEXT_MESSAGE
      message-factory="messageFactory"
      marshaller="marshaller" unmarshaller="marshaller"
      request-channel="requestChannel"/>
    
    <int-jms:publish-subscribe-channel 
      id="requestChannel" 
      destination-resolver="destinationResolver"
      topic-name="${jndi.config.topic}"				
      connection-factory="connectionFactory"			
      acknowledge="auto"/>
    
    <bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory" />
    Can someone please share your experience?

    Thanks
    Last edited by fazahid; Jul 31st, 2012 at 12:05 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •