-
Dec 27th, 2010, 09:10 PM
#1
How to send out 2 different messages to 2 different channels from a Service Activator
Hi,
I am trying to implement the next flow:
File-inbound-Adapter-->fileChannel-->ServiceActivatorWebService-->responseChannel-->ServiceActivatorProcessResponse
I read a file from a folder, create a ws service request based on it and process the ws response. Additionally, I would like to archive the original file if the WebService was successful. My ServiceActivatorWebService returns a message with the XML response, so I am loosing the message with the original file in order for the File-outbound-Adapter to move the file to the archive folder.
In other words, I would like to add the next flow (if the ws request was successful):
ServiceActivatorWebService-->fileChannel2-->File-outbound-Adapter
I cannot come up with a solution that does not involve changing the ServiceActivatorWebService business class to programatically send the original message to fileChannel2.
Thanks !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules