activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: CAMEL: stripping properties from jms endpoint
Date Fri, 27 Jul 2007 13:00:27 GMT
On 7/27/07, Karsten.Schwarz@dzbank.de <Karsten.Schwarz@dzbank.de> wrote:
> Hi,
> sorry for bothering, I have downloaded the lastest snapshot, here it is
> working now

Sorry about that!

We'll try release 1.1 real soon with this fix included.

James


> Thanks
> Karsten
>
> Karsten Schwarz/IO/Frankfurt/DZ BANK@DZBANK schrieb am 27.07.2007
> 13:53:42:
>
> > Hi,
> > I am trying to use a jms queue as an endpoint, but unfortunately the
> > properties for the enpoint configuration are not stripped from the queue
>
> > name.
> >
> > So what I am trying to do is following (trying to get the sample up and
> > running:
> >
> > ...
> >         context.addRoutes(
> >                 new RouteBuilder() {
> >                         public void configure(){
> >  from("jms:queue:TEST?useVersion102=true&receiveTimeout=10000")
> >                                 .to("file://test");
> >                                 // set up a listener on the file
> component
> >                                 from("file://test").process(
> >                                         new Processor(){
> >                                                 public void
> > process(Exchange e){
> >  System.out.println("Received exchange: "+e.getIn());
> >                                                 }
> >                                         }
> >                                 );
> >                         }
> >                 }
> >         );
> > ...
> >
> > But instead receiving messages from queue TEST, a queue
> > TEST?useVersion102=true&receiveTimeout=10000 gets created, which is of
> > course empty.
> >
> > Any idea how to get rid of the properties after the queue name ?
> >
> > I am using CAMEL 1.0.0 RELEASE and EAServer 5.1 for message service.
> >
> > Thanks
> > Karsten


-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message