aquinn
Oct 19th, 2009, 05:57 AM
Hello,
I'm new to Spring Integration and would like some advice on how to architect a new system.
I want to transfer messages from one queue to another queue, and run a system process whenever a message is transferred. I've thought of using a router because we may have multiple queues in future. I also want to use JMS, but I don't want to use JmsTemplate because we're not running inside a J2EE container. Here's a diagram of the kind of thing we want to do:
http://docs.google.com/present/view?id=dfks9zdp_267drs4tvc8
Is this a good approach? Should my router produce side-effects (running a system command), or should I use a POJO with @ServiceActivator instead?
Any advice would be much appreciated.
Thanks,
Antony
I'm new to Spring Integration and would like some advice on how to architect a new system.
I want to transfer messages from one queue to another queue, and run a system process whenever a message is transferred. I've thought of using a router because we may have multiple queues in future. I also want to use JMS, but I don't want to use JmsTemplate because we're not running inside a J2EE container. Here's a diagram of the kind of thing we want to do:
http://docs.google.com/present/view?id=dfks9zdp_267drs4tvc8
Is this a good approach? Should my router produce side-effects (running a system command), or should I use a POJO with @ServiceActivator instead?
Any advice would be much appreciated.
Thanks,
Antony