Jul 1st, 2011, 09:24 AM
Routing to MQ, queues on database tables
First time here, spring integration first-timer also... and totally new to this concepts.
Reeeeeally gonna love the help of you all.
Well, let's start.
I'm developing an interface project thru Spring that gets a message from an MQ Queue and sends it to another MQ Queue after a few transformation.
For now, this already works great.
What i'd like to change is that I want to take the outbound Queue from a table in database for a few internal reasons, and route a message to all those MQ Queues.
The idea is: I have a table with 2 main columns "IDENTIFICATION / QUEUE_NAME".
(be that QUEUE_NAME the ID in MQ or a JNDI, doesn't mind).
Message is in XML format.
1) starts inbound channel.
2) XPATH reads identification tag in XML message.
3) [something] reads the database and gets 2, 3, .. lines of MQ destinations.
4) [something] sends a message (copies) to each destination.
Can you enlighten me?