activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten.Schw...@dzbank.de
Subject Antwort: CAMEL: stripping properties from jms endpoint
Date Fri, 27 Jul 2007 12:05:27 GMT
Hi,
sorry for bothering, I have downloaded the lastest snapshot, here it is 
working now
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message