Announcement Announcement Module
Collapse
No announcement yet.
Success Messages/Events Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Success Messages/Events

    All,
    i've got a nice integration config all set up but with one 'hole'. the last outbound channel is to FTP and what i'm trying to determine is if the FTP is successful how can i be notified? What i need to do it update a table once an FTP completes. I can handle problems via the errorChannel but i just can see how to get success messages/notifications? Any ideas?
    Cheers
    Martin

  • #2
    2 ways:

    A.

    1. Make the final channel before the FTP adapter a <publish-subscribe-channel />
    2. Subscribe the FTP adapter and, say, a <service-activator /> to the channel. Put an "order" attribute on each (1 on FTP, 2 on the service activator).

    B.

    Instead of a pub-sub channel, use a <recipient-list-router/> (with the ignore-send-failures attribute set to its default 'false').


    In both cases, the message will be sent to the second subscriber only if the send to FTP is successful.

    Comment


    • #3
      Gary - thanks for that - i'll give that a whirl this evening.
      Martin

      Comment

      Working...
      X