Re: How to retain exchange headers through RoutingSlip

2015-10-03 Thread David Hoffer
We add the headers where we create and/or call process on the routing slip... exchange.getIn().setHeader("customHeader1", somedata1); exchange.getIn().setHeader("customHeader2", somedata2); exchange.getIn().setHeader(routingSlipHeaderName, toUris); routingSlip.process(exchange); But then when

MDC information mess up after sent to activemq endpoint

2015-10-03 Thread chiochuan
Hi Guy, How to keep data in MDC after sending to JMS/activemq endpoint? currently i have 2 bundle whereby 1 bundle is exposing as webservice using cxf endpoint. For each request, i have generate UUID and set it to MDC for logging propose and sent the message to activemq endpoint (synchronous

camel:netty4: How to control the number of outgoing TCP connections

2015-10-03 Thread SteveR
I'm using *Camel 2.15.2* and *camel:netty4* on RHEL6 and I have a Camel route that reads from a *SEDA *queue and sends via *netty4:tcp *to a remote host. When doing a load test in dev, I see that exactly 50 TCP connections get established to the remote host. I would like to understand what

Re: https REST DSL servicemix CamelHttpTransportServlet

2015-10-03 Thread sekaijin
only https thank -- View this message in context: http://camel.465427.n5.nabble.com/https-REST-DSL-servicemix-CamelHttpTransportServlet-tp5772098p5772226.html Sent from the Camel - Users mailing list archive at Nabble.com.

MultiMedia Message(MMS) with Apache Camel

2015-10-03 Thread imranrazakhan
HI, I have developed sample to send MMS with Apache Camel http://imranrazakh.blogspot.ae/2015/10/mms-with-apache-camel.html Regards -- View this message in context: http://camel.465427.n5.nabble.com/MultiMedia-Message-MMS-with-Apache-Camel-tp5772207.html Sent from the Camel - Users mailing

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-03 Thread calyan.bandi
Hi, You may try one of the below two approaches: 1. Redefine your method signature and use the Bean annotations. public void transformBodyUsingStyleSheet(Exchange exchange, @Header("organizationStyleSheet") String styleSheet) { .. } 2. If the above didn't work, modify the bean delcaration in

Re: cxf endpoint configuration in java DSL

2015-10-03 Thread calyan.bandi
Hi, I do not think that the below initialization would listen for the requests on the url provided in the SERVICE_ADDRESS. CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); You initialize the CxfEndpoint with the required properties. If you want to use it as a

Re: How to retain exchange headers through RoutingSlip

2015-10-03 Thread Claus Ibsen
Where do you set those custom headers? On Fri, Oct 2, 2015 at 8:20 PM, David Hoffer wrote: > I'm using a RoutingSlip to route files but all custom headers set on the > Exchange are discarded. I assume that's because Camel assumes custom > headers are not useful for file

Re: Cannot write null body to file - using ftp component

2015-10-03 Thread Claus Ibsen
You cannot have from inside a route, that is only to start a route. You need to use the content enricher EIP http://camel.apache.org/content-enricher.html There is a pollEnrich you can use to poll a file. On Fri, Oct 2, 2015 at 6:46 PM, dfgcamel wrote: > Thanks for the