on 08-02-2010 4:41 PM
I have File and JDBC senders that are using EOIO QoS.
I must enter a value of QueueId (Queue Name) in the configuration of the communication channels. But I want to set (or overwrite) this QueueId value dynamically to a value from the payload - in other words, to set a serialized context based on some identifier in the payload.
Does anybody know whether it's possible to set the QueueId (Queue Name) value dynamically to a value from the payload?
Hi,
>>>Does anybody know whether it's possible to set the QueueId (Queue Name) value dynamically to a value from the payload?
yes of course it can be set like that
recently I implemented an adapter module which does exactly that (from the payload)
for JMS adapter (but it works with file and jdbc too)
all you need it to set is the sequenceID from the payload value - and that's it
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Many thanks for providing this answer and for the link to the blog.
I've looked through the blog code and it seems to be using the setConversationId method, so I presume this Message interface may have changed to use setSequenceId since the blog was written. I'm going to have to write an adaptor module to do this, so I guess I'll be finding out
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Queue name parameter of File/JDBC adapter cannot be set dynamically using Dynamic Configuration.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.