Camel logging

2016-07-07 Thread mabahma
Hello i'm using a camel route .. and loggin using log4j.. # Root logger log4j.rootLogger=INFO, out log4j.logger.org.apache.camel=DEBUG How can i send the output of this logger into a different file ? I've tried # Root logger log4j.rootLogger=INFO, out,myFileAppender log4j.logger.org.

Re: Camel route Audit and processing summury

2016-06-24 Thread mabahma
Thank you for your replay.. I have followd your advice and used the message history EIP (http://camel.apache.org/message-history.html) and it works perfectly. But in log that it is giving to me , i have this : routeid nodeid processor

Re: Camel route Audit and processing summury

2016-06-23 Thread mabahma
Ok thank you very much But this component uses logging how can i to copy the logged message to a report ? -- View this message in context: http://camel.465427.n5.nabble.com/Re-Camel-route-Audit-and-processing-summury-tp5784339p5784340.html Sent from the Camel - Users mailing list archive a

Camel route Audit and processing summury

2016-06-23 Thread mabahma
Hello all, I'have the following Camel route : ... ftp://srvftp"/> I'm looking to have ,at end of processing of the route the route, a summury or a report showing if the processing have been a succes or a failure and if failure in some step give me the error or a hint .. somethi

Re: Camel logging

2016-06-16 Thread mabahma
nothing ?? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-logging-tp5784095p5784121.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel logging

2016-06-15 Thread mabahma
Hello I'm using a route where i send à get request to a url GET https://localhost:9091/clients"; /> I'm wondering of it's possible to have logs like in tomcat or apache logs : 2016-06-14 13:15:03,045: INFO -Request sent: GET https://localhost:909

Camel CXF authentication

2016-06-08 Thread mabahma
CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { public void configure() throws Exception { > Authenticator.setDefault(new MyAuthenticator()); from("direct:test")

Re: Camel CXF Payload mode

2016-06-07 Thread mabahma
Thank you all it was a poblem of authentication i added a PasswordAutehntication class .. CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { public void configure() throws Exception { > Authenticator.setDef

Re: Camel CXF Payload mode

2016-06-07 Thread mabahma
Sorry, i've replaced my private urls and datas by those..and i forgot to eliminate the token 'page' from the url..and these headers are also the same.. First call: SOAPAction: "urn:microsoft-dynamics-schemas/calculator:compute"\r\n second call: SOAPAction: "urn:microsoft-dynamics-schemas/cal

Re: Camel CXF Payload mode

2016-06-07 Thread mabahma
Thank you for your replay I have tried with POJO mode and i send the xml header declaration but i still get 400 bad request response.. Aloso changed accept to 'text/xml, multipart/related' and got the same error.. What type of configuration you changed in WCF?? kind regards -- View this mes

Re: Camel CXF Payload mode

2016-06-07 Thread mabahma
i've done and no differences.. I took each one and run it into SopaUi and get response.. is there any way to intrcept the Soap message before it s sent to target so i can check if there is a bad character? Kind regards -- View this message in context: http://camel.465427.n5.nabble.com/Camel

Re: Camel CXF Payload mode

2016-06-07 Thread mabahma
Ok many thanks..It's working But now i get 400 bad request response : --- org.apache.cxf.transport.http.HTTPException: HTTP response '400: Bad Request' when communicating with http://localhost:9080/WS/calculator at org.a

Camel CXF Payload mode

2016-06-07 Thread mabahma
Hello everyBody I'm struggling to make the folowing code to work.. CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { public void configure() throws Exception { from("direct:test")

Failover with Camel CXF

2012-11-30 Thread mabahma
Hello, I have many routes with many components like Activemq and CXF. I'm using the failover protocol to loadbalance Activemq brokers and CXF webServices. *The sysntax : failover:(tcp://server1:61616,tcp://server2:61616)* is working and messages routed to one broker when the other is down.

Re: Distributed transaction in camel route

2012-09-21 Thread mabahma
Hello all, We are using distributed transaction in a Camel route where messages are sent to a JMS queue (ActiveMQ broker) then picked by a processor bean and persisted in Oracle database. We first used XA transactions with Atomikos but the performances (number of processed messages) were not 't a

Re: Camel CXF Exception-Fault Handling

2012-08-10 Thread mabahma
hi Willem thank you for answering this is m y route : http://camel.apache.org/schema/spring";> CXF endpoint is in POJO mode : http://localhost:9000/services"; serviceClass="ch.test.MyServiceimpl">

Camel CXF Exception-Fault Handling

2012-08-08 Thread mabahma
Hello We have a client sending a request to a CXF WS endpoint MessageContentsList messageContentsList = (MessageContentsList) template.requestBodyAndHeaders( uri,message)); // wait for the route to complete then Camel route the message to a processor where we check for Except

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'.

2010-02-03 Thread mabahma
I picked up a camel tutorial and i never get to run it succefully. I'm using Camel 2.1 and ActivMq 5.3.0 It always crashes with the error : org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'. Am i

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'.

2010-02-03 Thread mabahma
I picked up a camel tutorial and i never get to run it succefully. I'm using Camel 2.1 and ActivMq 5.3.0 It always crashes with the error : org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'broker:broker'. Am i