Announcement Announcement Module
Collapse
No announcement yet.
Spring Integration -Remoting issues Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Integration -Remoting issues

    I am using spring remoting & Spring integration for one of my applications

    Bundle A makes the spring remoting call to bundle B when a message is put into one of the channels (loginAnnouncementsChannel) defined below(spring integration pub sub channel).

    Bundle A
    ------------

    <publish-subscribe-channel id="loginAnnouncementsChannel"/>

    <httpinvoker:outbound-gateway id="outboundPamGateway"
    url="http://localhost:8080/test/pamService"
    request-channel="loginAnnouncementsChannel"
    request-timeout="5000"
    reply-timeout="10000"
    />

    Whenever a message is published to loginAnnouncementsChannel I want to make a spring remoting call with the same parameters which is published into the channel.

    How do I do this ? How do I pass the method(parameter) to be invoked on the remote side ?


    Bundle B
    ---------
    Bundle hosting some remoting service

    <bean id="exampleProxy" class="com.pam.ExampleService" />

    <bean name="/pamService"
    class="org.springframework.remoting.httpinvoker.Ht tpInvokerServiceExporter">
    <property name="service" ref="exampleProxy" />
    <property name="serviceInterface" value="com.pam.external.IExampleService" />
    </bean>


    Aexample for teh same as i dont see any in samples.
Working...
X