Thanks for the explanation. On a related note, could you pl
explain if I can use a BrokerService or a BrokerFactoryBean
in my Spring configuration without the xbean stuff?

I am running into the " Unrecognized xbean element mapping"
error due to the reference to  http://activemq.org/config/1.0
and am not sure how to resolve the issue.

Thanks,

/U

 -------------- Original message ----------------------
From: "James Strachan" <[EMAIL PROTECTED]>
> On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I don't understand a basic element of ActiveMQ: how does the
> > connection factory reference the broker factory bean?
> 
> It doesn't. The ConnectionFactory is designed to communicate with a
> usually remote broker
> 
> 
> > The examples I have seen define a broker factory bean B
> > and a connection factory F with a  "depends-on" (Spring)
> > dependency of F on B.
> 
> Thats to make sure the broker starts up first.
> 
> 
> > Since the connection factory must be obtaining a reference to
> > the broker factory, how does it get the reference?
> 
> So for VM transport there's a static registry indexed by broker name.
> For other transports just use the tcp URI etc
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/

Reply via email to