No performance impact. The component will use the factory under the covers.
On Mon, Mar 18, 2013 at 6:34 AM, Bipin Jethwani <jethwani.bi...@gmail.com>wrote: > I have jaasAuthenticationPlugin defined for my embedded activemq broker > instance (and it is working fine), and then I have camel context defined > with activemq component exposing many beans for remote invocation. > Now I noticed from other posts here that there are two ways to make camel > authenticate to broker, > 1. Setting username/password in ActiveMQComponent > 2. Setting username/password in ActiveMQConnectionFactory > My question is how does both the options differs, is the any performance > impact. > > Thanks in advance. > > -Bipin > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Camel-ActiveMQ-tp4664825.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta