FTP Connection Pooling in camel

2015-12-14 Thread Kasim Sert (Ibtech-Software Infrastructure)
Hi, I want to limit the total number of connections to a ftp server. For this I want to implement a connection pool for the ftp component which will be used in both consumer and producer mode by camel. My question is should I write it on my own, or is it possible with configurations ? I checked

Creating Apache Camel route to get value of XML-file attribute

2015-12-14 Thread Master_mind
from(Main.strPath) .setBody(xpath("/rss/channel/item/attribute/@temp", String.class)) .to(Main.test); There is example. What should i define in "to()"? I tried: path to txt doc, xml doc, and to String variable - it doesn't work( I need this attribute for

Camel Stream caching unable to capture the entire stream

2015-12-14 Thread calyan.bandi
Hi, I have a camel route which invokes a webservice, and tries to processes the response. I am using cxfrs component for the invocation. The response i am receiving is very huge and hence most of the content is removed from the end. To remedy this, i am using stream caching - org.apache.camel.sp

Re: How to specify the UDP source port with camel-netty4 ?

2015-12-14 Thread SteveR
Hi Greg: Thanks for the reply. However, it's the UDP source port that I'd like control over. The *${header.CamelNettyRemoteAddress}* correctly resolves to the in-flight destination *IP:port *of the client that I need to send the UDP acknowledgement to. My problem is that *camel-netty4* is not gi

Re: How to specify the UDP source port with camel-netty4 ?

2015-12-14 Thread SteveR
I'm using *Camel-2.16* and I'm looking at the GitHub code for the NettyProducer.java , and I think the below highlighted code is what causes netty to spe

Idempotent don't filter within onexception

2015-12-14 Thread Charles Moulliard
Hi, I have created this Apache Camel Route to report an exception one time (using the direct:notify endpoint) but the info is logged x times as the maxredelivery policy defined on the JMS Client with ActiveMQ is equal to 2 http://activemq.apache.org/schema/core ">

[ENHANCEMENT REQUEST]: camel-netty4 config support for specifying UDP source port

2015-12-14 Thread SteveR
I'm currently facing a show-stopping production issue: I'm unable to figure out how to specify the UDP source port of my choosing for a Camel route that uses the camel-netty4 component to send a UDP datagram. If anyone has any thoughts/ideas about how I can