Re: Execute a spedific route from unix cron

2013-11-29 Thread Walzer, Thomas
The good thing is: there is no standard, so you are really free to decide. That´s a huge plus for Camel. Other engines require you to run a 1 gig application server to move a few files around. The bad thing is: there is no standard, so you have to decide :-) My favourite way is to run servicemix

Persist headers when using cache

2013-11-29 Thread marioradev
Hi there, We are using cache component to persist our messages. Before persisting and emitting we add some extra specific headers to the event/message that we use when it is received. However only the message body (payload) is persisted. We need also headers to be persisted. I have searched for s

StaxConverter throws NPE

2013-11-29 Thread sbo13
Copy of CAMEL-7025 This issue only happens when running in weblogic: After updating to Camel 2.12.2 the method createXMLStreamReader(InputStream in, Exchange exchange) in staxConverter throws an NPE because of the missing charsetName. Comparin

Re: Getting SSH_MSG_CHANNEL_FAILURE while using camel ssh

2013-11-29 Thread Scott Cranton
Mayank, What version of Camel are you running? Can you send your route snippet that calls the camel-ssh component? >From the log, it looks like it connected correctly, but there may not have been a command to run in the body of the message or configured in the endpoint URI... Scott On Thu, Nov

Re: Getting SSH_MSG_CHANNEL_FAILURE while using camel ssh

2013-11-29 Thread Marco Westermann
Hi, it looks like the message body is null when you call the ssh endpoint. Do you set a command to the message body before calling the endpoint like: .from("direct:a") .setBody().constant("ls -la") .to("ssh:"); regards Marco Am 28.11.2013 19:55, schrieb mayank.gupta: Dear All , I doing

Re: Assistance required on Mutiple Contexts and Mutiple Routes per Contexts

2013-11-29 Thread Claus Ibsen
Camel is flexible and you can run it anyhow you like it. So if you run 1 route per camel context, or have N+ routes in the context, or have N context with 1 routes, or N context with N+ routes doesn't matter. Its your choice. Though most people tend to have 1 context with N+ routes that is relate

set property before starting

2013-11-29 Thread anakin59490
Hi, I wrote this route : @Component public class MassPaymentInRoute extends SpringRouteBuilder { @Value("${user.password}") String cryptedPwd; String decryptedPwd; @Override public void configure() { Cipher cs = new Cipher(); try

Quartz trigger.repeatCount error

2013-11-29 Thread JonathanVila
Hello I'm trying to use Quartz with Apache Camel in OSGi container with a blueprint file : http://www.osgi.org/xmlns/blueprint/v1.0.0";> http://camel.apache.org/schema/blueprint"; id="mainContext"> Mensaje para Quartz

Re: Quartz trigger.repeatCount error

2013-11-29 Thread Claus Ibsen
Its XML so you must obey the XML rules :) & must be escaped as & in XML attributes. And so must > and < etc as > and < On Fri, Nov 29, 2013 at 6:43 PM, JonathanVila wrote: > Hello > > I'm trying to use Quartz with Apache Camel in OSGi container with a > blueprint file : > > > http://www.osgi

Re: Quartz trigger.repeatCount error

2013-11-29 Thread JonathanVila
Thank you Claus, what a newbie error!!! I'm ashame ;) El 29/11/2013 18:48, "Claus Ibsen-2 [via Camel]" < ml-node+s465427n5744090...@n5.nabble.com> escribió: > Its XML so you must obey the XML rules :) > > & must be escaped as & in XML attributes. > > And so must > and < etc as > and < > > > > On

DSL Logging not outputting to the logs

2013-11-29 Thread mckinnonrob
I am fighting an issue where the DSL logs are not getting to the log output. Route: from("jms:queue:CAMEL_OUT") .log(LoggingLevel.ERROR, "looking for this in the logs ... ${body}") .to("jms:queue:CAMEL_FINAL"); I have log4j configured and turned the threshold down to DEBU

messaging between several apps tied with sso

2013-11-29 Thread fachhoch
We have several java application tied using single sign on , each application has its own database.we are using cxf and rest services for any information one app needs from other .Using cxf the problem is web service can be accessed from anywhere and we have to add security and any app which wants

Re: DSL Logging not outputting to the logs

2013-11-29 Thread Claus Ibsen
Are you sure the route pickup any messages to route? The log DSL will only log if there is messages. On Fri, Nov 29, 2013 at 10:52 PM, mckinnonrob wrote: > I am fighting an issue where the DSL logs are not getting to the log output. > > Route: > from("jms:queue:CAMEL_OUT") > .log(Logg

Re: set property before starting

2013-11-29 Thread Claus Ibsen
The Camel property placeholder / component http://camel.apache.org/using-propertyplaceholder.html is not the same as context.getProperties. The latter is seldom used but allows configuring arbitrary options that can be retrieved from the context. Though there is only a few options usually to set s