Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-14 Thread Willem Jiang
mptyStdout=true, > > > > > > > > CamelToEndpoint=log://org.apache.camel.example?multiline=true&showAll=true, > > > > > > > > isXalanTransformer=false} > > > > , Headers: {appGroup=CCMM, > > > > breadcrumbId=ID-thor-altiuz-cl-5505

Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-14 Thread gvasquez
tiuz-cl-55058-1407963458446-0-1, > > > CamelSpringWebserviceSoapHeader=javax.xml.transform.dom.DOMSource@4be1d2c4} > > > > > > , BodyType: String > > > , Body: CCMM > > > , Out: null: > > > ] > > > > > > So nothing seems

Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-14 Thread Gonzalo Vasquez
Thanks Willem, I thought simplicity might have worked, but sadly no...switching from "out" to "in" to get the header doesn't give me any output either :( Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (R&D) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802,

Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-13 Thread Willem Jiang
Hi, Did you try to check the EXEC_EXIT_VALUE from in message?    You can find more information about in and out message here[1]. [1]http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogs

Re: Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-13 Thread Gonzalo Vasquez
Extra, I'm using camel 2.13.2 In my pom.xml: org.apache.camel camel-spring-ws 2.13.2 Running both in Apache Tomcat 7 (JDK 1.7.0_04-b21 in OSX) and IBM WebSphere Application Server 8.5.5.2

Retrieving EXEC_EXIT_VALUE from exec endpoint

2014-08-13 Thread gvasquez
No "exec" headers are set after an invocation of this endpoint, so I'm not being able to decide what do upon process execution. I'm using Spring DSL like this: exec://{{cmod.arsLoad}}?useStderrOnEmptyStdout=t