Re: listener on intermediate queue

2010-08-10 Thread Claus Ibsen
On Mon, Aug 9, 2010 at 4:56 PM, Mark Webb elihusma...@gmail.com wrote:
 I am curious as to how Camel routes messages when there is an
 intermediate queue involved.

 What I am trying to set up is similar to the Loan Broker example at
 http://camel.apache.org/loan-broker-example.html.  What is to stop an
 external client from listening on queue
 jms:queue:creditResponseQueue and seeing what is going on so that
 other destinations in the system do not get all of the information and
 screw up the system?


That is entirely up to your broker how it can handle security and deny
access from unwanted clients.


 Mark




-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus


listener on intermediate queue

2010-08-09 Thread Mark Webb
I am curious as to how Camel routes messages when there is an
intermediate queue involved.

What I am trying to set up is similar to the Loan Broker example at
http://camel.apache.org/loan-broker-example.html.  What is to stop an
external client from listening on queue
jms:queue:creditResponseQueue and seeing what is going on so that
other destinations in the system do not get all of the information and
screw up the system?

Mark


Re: listener on intermediate queue

2010-08-09 Thread Willem Jiang
If you don't want other client to ruin your route, you can consider to 
use direct[1] endpoint or seda[2] endpoint. They are only visible within 
the camel context.


[1]http://camel.apache.org/direct.html
[2]http://camel.apache.org/seda.html

Willem
--
Apache Camel, Apache CXF committer
Open Source Integration http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang


Mark Webb wrote:

I am curious as to how Camel routes messages when there is an
intermediate queue involved.

What I am trying to set up is similar to the Loan Broker example at
http://camel.apache.org/loan-broker-example.html.  What is to stop an
external client from listening on queue
jms:queue:creditResponseQueue and seeing what is going on so that
other destinations in the system do not get all of the information and
screw up the system?

Mark