Hi Peter,

On 17 Nov 2005, at 05:19, Peter Smith wrote:

I'm out of my depth with the JCAFlow class.... so just a couple of questions.

1. Who is creating the Queue for the components? In JCAFlow onEvent (final ComponentPacketEvent event) method what part of this code is *creating* this named JMS Queue (as per same algorithm in the JMSFlow). Is it some property of the ActiveMQActivationSpec or is it default behavior for a ActiveMQResourceAdapter to create the specified destination or what?
It's the ActiveMQ ActivationSpec - that creates the Queue- the destinationType - defines that it's a Queue - the destination property - the name of the Queue.

2. Pros/Cons of JCAFlow versus JMSFlow?
The JCA we use in ServiceMix (and it's also used by ActiveMQ) is jencks - http://jencks.org . The benefit of the JCA flow is that it will enlist the flow in a current transaction - if transactions are being by a Component. Can't think of any Cons of the top of my head actually :)


Thanks,
Peter.


cheers,

Rob

Reply via email to