on ‎2005 Jul 05 4:18 PM
I am using a JMS Adapter Sender Communication Channel and try to select the messages I want to consume with the Message Selector. My first attempts all failed - I am not sure if the syntax I am using is correct or if anything else has to be set up to use the Message Selector.
My sample was to enter the following into the field for Message Selector:
JMSCorrelationID = '123456789012345678901234'I also tried the following variations:
JMSCorrelationID = "123456789012345678901234"
JMSCorrelationID = 'ID:123456789012345678901234'
JMSCorrelationID = "ID:123456789012345678901234"but none of them were successful.
Anybody got that feature to work yet and can help me...
regards,
peter
Request clarification before answering.
Hi Peter,
As far as Java is concern a Message Selector is a String
"name = 'string to search'" to filter out messages. So I thing you can try the following in the field for Message Selector.
"(name = 'JMSCorrelationID') AND (name = '123456789012345678901234')".
regards,
Felix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the hint, but it did not help me any further. It also seems a bit unusual to me if this were the syntax (cause I actually want to match the JMSCorrelationId against a literal value - and not a field called name) ... hmmmm - maybe any other suggestions?
btw: It need not necessarily be the correlation id, I was just using this as an example
regards
Peter
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.