Announcement Announcement Module
Collapse
No announcement yet.
How to do my own gateway or adapter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to do my own gateway or adapter

    I need to know how to do my own gateway, what classes I need to extend, to implement and how I configurate it.

  • #2
    At first I'd just write a java class that does the job and wire it with a service-activator in xml.

    Comment


    • #3
      Just to add to what Iwein said, the whole purpose of the Gateway is to provide a POJO-style entry point into a Messaging system, so naturally you don't need to extend anything.
      Code:
      public interface MyGateway{
         Foo getBar(SomeType payload);
      }
      As far as configuration, there is plenty of detailed information in the reference manual. There are also plenty of samples that are using Gateway.

      Comment

      Working...
      X