activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uma...@comcast.net
Subject Re: BrokerFactoryBean and ConnectionFactory
Date Tue, 01 May 2007 05:20:37 GMT

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" <james.strachan@gmail.com>
> On 5/1/07, uma_rk@comcast.net <uma_rk@comcast.net> 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/


Mime
View raw message