Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Row1.message.contains("RAVI") ---> We have a filter condition like this in Data Integration job. How to implement this in esb so that we can pull only selected messages in a topic
I assume you are working with a message queue. With queues you don't select what you get and what you don't. But you can filter (throw away) what you don't want to work on. You could use a cMessageFilter for this (https://help.talend.com/reader/_kirWdGiwNgvHlXUtw8vGA/EYcLHqqMXBRmwePkiIzOJw).
FYI since you appear to be doing a lot with the ESB at the moment, a good resource to keep in your bookmarks is this...
Hello ravi999,
If you want you can use JMS Selector.
Your cJMS component will consume only the messages which contain the correct value in the header property named JMSSelector.
To configure it, you need to add a new field in the Advanced Setting tab of the cJMS component with name "selector" and value "RAVI".
Warning, you should modify your productor to complete the JMSSelector header.
Nice @Donatien! I was being very literal and thinking just about message content, I didn't think about using headers.