Are you wrapping your connection factory in a SpringCachingConnection factory?
camel-jms uses Spring's Jms template which requires a connection factory that 
pools or caches connections in order achieve good performance.

See the JMS template gotchas on the wiki for JMS component.
http://camel.apache.org/jms.html

----------------------------------------
> Date: Tue, 25 Oct 2011 09:14:53 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: How to speed up JMS production?
>
>
> Il giorno 25/ott/2011, alle ore 17:14, Gnanaguru S [via Camel] ha scritto:
>
> >
> > Hi
> >
> > I dont really understand your scenario. But upto my understanding. Why not 
> > you try cluster certain number of brokers to achieve high availability.
>
> The problem is not the broker, because sending messages to the same broker 
> using standard JMS API is about 20 times faster (single thread!) than using 
> Camel API: this is what I saw in my tests.
>
> Probably I made some mistake or there is a better way to use Camel.
>
>
> Regards,
> Lorenzo
>
> >
> >
> > Regards
> > Guru
> >
> >
> >
> > If you reply to this email, your message will be added to the discussion 
> > below:
> > http://camel.465427.n5.nabble.com/How-to-speed-up-JMS-production-tp4936275p4936613.html
> > To unsubscribe from How to speed up JMS production?, click here.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-speed-up-JMS-production-tp4936275p4936800.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
                                          

Reply via email to