Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-29 Thread Jean-Baptiste Onofré
Hi guys, As reminder, CXF 2.6/Camel 2.9 requires at least Karaf 2.2.6 due to the introduction of a new feature provided by Karaf. More over, due to an issue on ConfigAdmin/FileInstall, I heavily advice to use Karaf 2.2.7. Regards JB On 04/30/2012 08:50 AM, Fitzcaraldo wrote: Good call. Wit

Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-29 Thread Fitzcaraldo
Good call. With karaf v2.2.7, cxf v2.6.0 and camel v2.9.2 - it installs cleanly. This time the war didn't pull in an earlier version of cxf. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/karaf-2-2-5-cxf-2-6-0-and-camel-2-9-0-install-problem-tp5675060p5675234.html S

Re: Logging from route not working

2012-04-29 Thread Claus Ibsen
Its the name such as you define with this code Logger log = LoggerFactory.getLogger(SampleRouteBuilder.class.getName()); Where the name of the logger is this SampleRouteBuilder.class.getName() So if you want to use the same name, then you need to use the above name in the Camel log in the DSL

Re: karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-29 Thread Christian Schneider
Can you try if this still happens with the new versions? Karaf 2.2.7 Camel 2.9.2 CXF 2.6.0 Christian Am 30.04.2012 06:38, schrieb Fitzcaraldo: I’m trying to run the Camel OSGi blueprint example using karaf2.2.5, camel 2.9.0 and cxf 2.6.0. I followed the instructions here: http://camel.apache.

Re: Logging from route not working

2012-04-29 Thread Nestor Urquiza
I am not sure I understand what logName refers to: The final log stream, the appender, the category? Here is my log4j.properties relevant section: log4j.rootLogger=WARN, logfile log4j.appender.logfile=org.apache.log4j.RollingFileAppender log4j.appender.logfile.layout=org.apache.log4j.PatternLayou

Re: duplicated classes in camel-core and camel-spring 2.9.2

2012-04-29 Thread Claus Ibsen
On Mon, Apr 30, 2012 at 6:51 AM, Nestor Urquiza wrote: > I use a plugin to automatically detect duplicated classes and that is why I > found there is indeed an issue. You can see it yourself: > > > nestor-nu:lib nestor$ jar tvf camel-core-2.9.2.jar | grep > "org.apache.camel.component.test.TestEnd

Re: duplicated classes in camel-core and camel-spring 2.9.2

2012-04-29 Thread Nestor Urquiza
I use a plugin to automatically detect duplicated classes and that is why I found there is indeed an issue. You can see it yourself: nestor-nu:lib nestor$ jar tvf camel-core-2.9.2.jar | grep "org.apache.camel.component.test.TestEndpoint" 1272 Thu Apr 12 07:26:26 EDT 2012 org/apache/camel/compon

Re: Logging from route not working

2012-04-29 Thread Claus Ibsen
On Mon, Apr 30, 2012 at 6:45 AM, Nestor Urquiza wrote: > Hi Claus, > > Thanks for the fast response. Is there a way to ensure they both use the > same container logger? > In the route the log will by default use the route id as the logger name. You have to specify your custom logger name if you w

Re: Logging from route not working

2012-04-29 Thread Nestor Urquiza
Hi Claus, Thanks for the fast response. Is there a way to ensure they both use the same container logger? Thanks, -Nestor -- View this message in context: http://camel.465427.n5.nabble.com/Logging-from-route-not-working-tp5674964p5675066.html Sent from the Camel - Users mailing list archive at

karaf 2.2.5, cxf 2.6.0 and camel 2.9.0 install problem

2012-04-29 Thread Fitzcaraldo
I’m trying to run the Camel OSGi blueprint example using karaf2.2.5, camel 2.9.0 and cxf 2.6.0. I followed the instructions here: http://camel.apache.org/cxf-example-osgi-blueprint.html http://camel.apache.org/cxf-example-osgi-blueprint.html jdk 1.6.0_25-b06 Fresh install of karaf. Copied jar.

Re: Logging from route not working

2012-04-29 Thread Claus Ibsen
Hi Its 2 different logs The 1st is a regular logger. eg like a Logger instance The 2nd is part of the Camel route, and thus logs Camel messages. On Mon, Apr 30, 2012 at 4:21 AM, Nestor Urquiza wrote: > Hello guys, > > I have setup a simple route: > > package com.krfs.orchestration.camel.route

Re: duplicated classes in camel-core and camel-spring 2.9.2

2012-04-29 Thread Claus Ibsen
Hi Can you double check that your classpath do NOT contain mixed versions of Camel. It sounds like that. On Mon, Apr 30, 2012 at 4:26 AM, Nestor Urquiza wrote: > Hello Camel team, > > Not sure if this should be reported as a bug. After adding camel-spring I > had to ignore the below warnings:

Re: file info lost in Exchange when passing through SEDA

2012-04-29 Thread Claus Ibsen
Hi Sounds like you do something wrong in your custom processor that removes the message body. See this FAQ http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html On Mon, Apr 30, 2012 at 3:19 AM, Mark Webb wrote: > I have a couple routes set up, shown below: > >         >        

useOriginalMessage in recipientList return the wrong message

2012-04-29 Thread agustino
Hi All, I am using camel 2.9.2. I have case like this: route message from file and do transformation, then do dynamic routing. If some error happened due to invalid destination, I want to move the original message to error folder. public void configure() throws Exception { onException(Excepti

Re: Routing Slip error in Camel

2012-04-29 Thread agustino
Hi, I am using camel 2.9.2 and activemq 5.5.0. This error is happened if I use routingSlip. If I use fixed destination (specify final endpoint), it will not happened. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Routing-Slip-error-in-Camel-tp5669518p5674945.html Se

Re: A simple that was working before is not working now (2.10-SNAPSHOT)

2012-04-29 Thread Tim
These "exhausted after ..." errors usually follow another exception. Can you check the logs for that exception? On Thu, Apr 26, 2012 at 10:33 PM, soumya_sd wrote: > The following route was working a while ago without any errors. I'm using > 2.10-SNAPSHOT in my pom.xml. > Any idea what might have

duplicated classes in camel-core and camel-spring 2.9.2

2012-04-29 Thread Nestor Urquiza
Hello Camel team, Not sure if this should be reported as a bug. After adding camel-spring I had to ignore the below warnings: [WARNING] Found duplicate classes in [org.apache.camel:camel-core:2.9.2,org.apache.camel:camel-spring:2.9.2] : [WARNING] org.apache.camel.component.test.TestComponent [W

Logging from route not working

2012-04-29 Thread Nestor Urquiza
Hello guys, I have setup a simple route: package com.krfs.orchestration.camel.route; import org.apache.camel.LoggingLevel; import org.apache.camel.builder.RouteBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SampleRouteBuilder extends RouteBuilder { Logger log

file info lost in Exchange when passing through SEDA

2012-04-29 Thread Mark Webb
I have a couple routes set up, shown below: ${in.header.status} == 'fail'

Re: How to map Jms Uri to JNDI?

2012-04-29 Thread Babak Vahdat
Hi by the Link Claus has already provided you, did you see that yellow box: http://camel.apache.org/jms#JMS-Options Out-of-the-box Spring already provides one DestinationResolver-Impl for your concrete case: http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/jms/su

Re: How to map Jms Uri to JNDI?

2012-04-29 Thread PhilBurress
Are there examples anywhere? The documentation is not clear on how to perform this. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-map-Jms-Uri-to-JNDI-tp5671063p5674439.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File consumer behavior when no files waiting

2012-04-29 Thread Claus Ibsen
Hi You can use the option sendEmptyMessageWhenIdle and then detect the empty message in the route, and then stop the app. It has been discussed on this mailing list before, can you google a bit. There should be recent talks about this from this year as well. There is several solutions for this.

File consumer behavior when no files waiting

2012-04-29 Thread Larry Meadors
I have a file consumer that uploads files to a server. It acts like a batch consumer, and uploads all the files an exits. That part is perfect. The only problem I have is that if it gets run and there are NO files, it doesn't exit. I'm guessing there is an option that I'm missing. This is my so