Re: OSGI Service reference in Camel Context

2012-12-09 Thread Sunil Pandit
Thanks for your response. Yes I want to use Blueprint . I am not sure how I can do in Java code . Do you mean registering servicetracker ? The filter or the placeholder is supported in service registration but not in servicereference. Thanks Sunil Pandit CSC 200 West Cesar Chavez., Austin, TX 78

Re: [camel-mina2] Bug in default UDP codec (Mina2UdpProtocolCodecFactory)?

2012-12-09 Thread Mikael Fernandus Simalango
On Mon, Dec 3, 2012 at 6:58 PM, Claus Ibsen wrote: > On Mon, Dec 3, 2012 at 10:44 AM, Christian Ohr > wrote: >> The HL7 Codec works on TCP messages, not UDP. On the other hand I >> don't think that the codec really depends on that. >> Note that HL7 messages have specific begin and end bytes that

how to work for redelivery of onException?

2012-12-09 Thread XiaoLi Ding
hi, i want to know how where happen asynchronization for "Asynchronous delayed redelivery" when i use Exception clause.my code as follows: = onException(java.io.IOException.class) .handled(true).maximumRedeliveries(3).asyncDelayedRedeli

Re: JMS persistence options have no effect

2012-12-09 Thread Raul Kripalani
Could you please post your configuration? Otherwise it's hard to help you out. Thanks, Raúl. On 10 Dec 2012 00:56, "brking" wrote: > Hi I'm using Camel 2.8, working with request reply over JMS via ActiveMQ. I > can't seem to get a non-persistent request/reply to work without actually > adding pe

JMS persistence options have no effect

2012-12-09 Thread brking
Hi I'm using Camel 2.8, working with request reply over JMS via ActiveMQ. I can't seem to get a non-persistent request/reply to work without actually adding persistent="false" to the ActiveMQ broker element in activemq.xml. This is not desirable to have all persistence disabled. The follwing option

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-09 Thread Babak Vahdat
side exception, part of which is: 2012-12-09 20:11:58,965 [qtp584886224-26] ERROR DefaultErrorHandler - Failed delivery for (MessageId: ID-Babaks-iMac-local-50486-1355080314212-0-18 on ExchangeId: ID-Babaks-iMac-local-50486-1355080314212-0-17). Exhausted after delivery attempt: 1 caught: org.apa

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-09 Thread lawkai
Hi Claus, I am using Camel version 2.10.2. And the example that I got is provided in the src package (under components\camel-quickfix org.apache.camel.component.quickfixj.examples.RequestReplyExample) I can't seem to get anything in the log... I just run the class as a Java Application and that

Re: Camel QuartzComponent failed on recreating endpoint

2012-12-09 Thread Claus Ibsen
Hi Can you try upgrading to the latest Camel 2.9.x release? On Fri, Dec 7, 2012 at 10:34 AM, Hude wrote: > We're using the camel quartz component (camel version 2.9.0 and quartz in > version 1.8.5) to trigger some jobs once a day. The routes are looking > similar to this: > > from("quartz://aen

Re: I created a basic file-unzip camel component...

2012-12-09 Thread Claus Ibsen
On Sat, Dec 8, 2012 at 10:21 AM, Pontus Ullgren wrote: > I do not agree with you. > The current data formater do support compressing files with the zip > alorithm but from what I can tell clarkcb has created a processor that > do handle multi-file archives. Something the current data formater > do

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-09 Thread Claus Ibsen
On Fri, Dec 7, 2012 at 2:25 PM, lawkai wrote: > Hi, > > I am completely new to Camel, and while I am going through the example, > I got this exception while running > org.apache.camel.component.quickfixj.examples.RequestReplyExample > > > Exception in thread "main" java.io.IOException: Server retu

Re: OSGI Service reference in Camel Context

2012-12-09 Thread Claus Ibsen
Hi This is really an area of OSGi Blueprint and what it supports. And possible if Apache Aries Blueprint has some extensions to support placeholders in filters etc. You can use Java code to refer to a osgi service with a dynamic filter. But I guess you want to do this in the blueprint XML file in

Re: Simple Expression With And Condition doesnt work in Camel 2.8

2012-12-09 Thread AlanFoster
Oh, I just noticed another small mistake. You've wrapped everything in speech marks, this isn't necessary in the xml dsl ${property.noun} contains 'Hello' and ${property.verb} contains 'World' -- View this message in context: http://camel.465427.n5.nabble.com/Simple-Expression-With-And-Condit

Re: Simple Expression With And Condition doesnt work in Camel 2.8

2012-12-09 Thread AlanFoster
You have stored the information on the exchange's properties, so you need to use the correct simple syntax ("${property.noun} contains 'Hello' and ${property.verb} contains 'World'") -- View this message in context: http://camel.465427.n5.nabble.com/Simple-Expression-With-And-Condition-doesn

Re: Simple Expression With And Condition doesnt work in Camel 2.8

2012-12-09 Thread Claus Ibsen
On Sat, Dec 8, 2012 at 1:15 AM, mail2bansi wrote: > Thanks Christian for quick response. I greatly appreciate it. > The ${noun} or ${verb} are String variables and are set into Exchange as > follows: > > > MessageDispatchHeader messageDispatchHeader = > xxxMessageEnvelope.getMessageDispatchHeader(