Collecting feeds from multiple sources to multiple destinations

2016-05-02 Thread polanki
Our application need to collect files from many (say 100) ftp servers in different time period ranges. For example from FTPServer1 - 8AM-8PM FTPServer2 - 1AM-3PM . . . FTPServer100 - 5AM-7AM Can camel scheduledExecutorService helps for this? Some possible solutions I can think of. Please suggest.

camel scheduledExecutorService works only for multicast?

2016-05-02 Thread polanki
Camel scheduledExecutorService / threadPoolProfile works only for multicasting or it also works with different sources and different consumers? If there are 100 routes in a context, each route has different source and destination does this thread pool helps? -- View this message in context: h

How to stop particular routes in camel context based on elapsed time?

2016-05-02 Thread polanki
if I have sample script like below. In this script different routes in context starts in different times. In the same way I want to stop particular route after specified time rather than stopping entire context. How can I do this? Like InitialDelay is there termination time for route? fina

Does context with multi ftp routes run with multiple thread?

2016-05-02 Thread polanki
If Camel context is started with multiple routes then does it run with multithreads? If so how many threads will be created? can we set number of threads? Does thread pool created for each camel context or for each Route Builder in the camel context? below is the sample code final CamelCo

Re: Setting the ID of a processor node without using .id()

2016-05-02 Thread stumpart
Ok. I see. I guess I will just work with the .id(). Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Setting-the-ID-of-a-processor-node-without-using-id-tp5782010p5782088.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel, Karaf and Hawtio question about portnumbers

2016-05-02 Thread michael.esmann
Hi, We are implementing an integration application using: - Camel 12.14.1 - Hawtio 1.4.56 - Karaf 3.0.5 My question/problem is: We want the Hawtio web application to be accessed by a specific unique URL/portnumber because the Hawtio application gives access to some very basic functionalities abo

Using the HBase component

2016-05-02 Thread Andres Olarte
I've been trying to get up and running the HBase component, but ran into issues: After running around in circles for a bit, this works: from("direct:hbaseConsumer") .setHeader("CamelHBaseValue", simple("Test Value", String.class)) .setHeader("CamelHBaseRowId", simple("${random(100

Re: Camel-hazelcast project example

2016-05-02 Thread Matt Sicker
One followup to the gist: note that the hazelcastmq part at the bottom is a separate library. Lines 32 - 52 can be removed. On 2 May 2016 at 10:05, Matt Sicker wrote: > I'm using camel-hazelcast in OSGi (for caching), and here's how I > configured it in blueprint: > > https://gist.github.com/jvz

Re: Camel-hazelcast project example

2016-05-02 Thread Matt Sicker
I'm using camel-hazelcast in OSGi (for caching), and here's how I configured it in blueprint: https://gist.github.com/jvz/3a825582f8794cce4b1fff85705bdd6c You can reference it in other bundles like so: Then it works like normal: from()...to("hazelcast:map:FooMap") On 2 May 2016 at 06:50, Nik

Re: warning while calling Bean ref in camel route

2016-05-02 Thread Claus Ibsen
On Mon, May 2, 2016 at 2:13 PM, ravi narayanan wrote: > Hi Claus, > > Iam using Jboss fuse service works 6.0 which supports camel 2.10 version. > A note that camel-cdi is not supported on OSGi on that fuse version. You need Fuse 6.2.1 or better. Try not to use cdi with your bean. Also its an old

Re: warning while calling Bean ref in camel route

2016-05-02 Thread ravi narayanan
Hi Claus, Iam using Jboss fuse service works 6.0 which supports camel 2.10 version. On Mon, May 2, 2016 at 2:07 PM, Claus Ibsen wrote: > What version of Camel do you use? > > If possible try with latest release as the camel-cdi component has > been refactored. > > > > On Fri, Apr 29, 2016 at

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread Sven Bauhan
On 05/02/16 13:57, Claus Ibsen wrote: On Mon, May 2, 2016 at 1:54 PM, Sven Bauhan wrote: I have context component to implement a protocol in our company. As the success of a transmission depends a response from the receiver, it has to be handled asynchronously. Now I try to find a way to prop

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread Sven Bauhan
On 05/02/16 13:57, Claus Ibsen wrote: On Mon, May 2, 2016 at 1:54 PM, Sven Bauhan wrote: I have context component to implement a protocol in our company. As the success of a transmission depends a response from the receiver, it has to be handled asynchronously. Now I try to find a way to prop

Re: How to access a cache entry within a Java bean called from a camel route?

2016-05-02 Thread Claus Ibsen
You can use the Camel cache component to get the cache value from your bean, by using either ProducerTemplate / @Produce etc to send a message to the cache endpoint with a GET header as operation to get the value. An alternative is to find out if you can get the cache manager bean the cache compon

Re: warning while calling Bean ref in camel route

2016-05-02 Thread Claus Ibsen
What version of Camel do you use? If possible try with latest release as the camel-cdi component has been refactored. On Fri, Apr 29, 2016 at 10:54 AM, ravi narayanan wrote: > Hi, > > Still iam getting warning when i use bean ref > > > warn message > > 10:48:07,147 WARN [org.apache.camel.util

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread candice88
still confused - If you Had A problem with Cara Daftar Maxbet , just visit us. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-implement-AsyncCallback-for-AsyncProcessor-tp5781819p5782075.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread Claus Ibsen
On Mon, May 2, 2016 at 1:54 PM, Sven Bauhan wrote: > I have context component to implement a protocol in our company. > > As the success of a transmission depends a response from the receiver, it > has to be handled asynchronously. > > Now I try to find a way to propagate a timeout exception, if n

Camel-hazelcast project example

2016-05-02 Thread NikheelRanjan
I was going through this link(http://camel.apache.org/hazelcast-component.html#HazelcastComponent-map) and we are planning to use hazelcast for caching in our project. I need some help in how to use it in osgi based environment and how to use maps to load data from queries.Also One query can have m

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread Sven Bauhan
I have context component to implement a protocol in our company. As the success of a transmission depends a response from the receiver, it has to be handled asynchronously. Now I try to find a way to propagate a timeout exception, if no response is received, out of the context component into

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread Claus Ibsen
AsyncCallback is an implementation detail for component developers, and the EIPs that are shipped in Camel. What is your use-case? On Mon, May 2, 2016 at 1:40 PM, Sven Bauhan wrote: > On 04/29/16 21:29, Claus Ibsen wrote: >> >> On Wed, Apr 27, 2016 at 10:05 PM, Sven Bauhan >> wrote: >>> >>> Hi

Re: How to implement AsyncCallback for AsyncProcessor?

2016-05-02 Thread Sven Bauhan
On 04/29/16 21:29, Claus Ibsen wrote: On Wed, Apr 27, 2016 at 10:05 PM, Sven Bauhan wrote: Hi, I found the explanation for an AsyncProcessor: http://camel.apache.org/asynchronous-processing.html But I do not understand how to implement the corresponding AsyncCallback. I did not find any examp