Re: [akka-user] Akka-Camel Custom Polling strategy

2014-08-06 Thread Konrad Malawski
Hello again, this is again a Camel question and is answered in the same way as previously :-) As shown in the http://camel.apache.org/polling-consumer.html you can simply implement an PollingConsumerPollingStrategy and then provide it to the Endpoint via the configuration as URL parameters, like i

Re: [akka-user] Akka-Camel Custom Polling strategy

2014-08-05 Thread ratika . prasad
Hi Konrad, Thanks for your reply. I did try created DefaultPollingConsumerPollStrategy instance however the methods required to be overridden needs an instance org.apache.camel.Camel and Endpoint, as below,however my consumers are of akka's UntypedConsumerActors, so was wondering if we have som

Re: [akka-user] Akka-Camel Custom Polling strategy

2014-08-05 Thread Konrad Malawski
Hello Ratika, AFAIK (and shown in the linked page) Camel can configure such things by simply appending more options to the `endpointURI`. Akka-camel is simply passing it through to Camel, so anything that works with plain Camel like this can be done with Akka-Camel. Define your pollStrategy somewh

Re: [akka-user] Akka-Camel Custom Polling strategy

2014-08-05 Thread ratika . prasad
Hi Martynas, We are having both IBMQ and Hornet Queue, we have created JMSAdapters which extends UntypedConsumerActors and these instances have member variable endpointURI which is read through configurations(properties files). We have options of configuring poll strategy including custom using

Re: [akka-user] Akka-Camel Custom Polling strategy

2014-07-31 Thread Martynas Mickevičius
Hello Ratika, since Camel does not support HornetQ out-of-the-box could you elaborate a bit more how are you using it with akka-camel? Also do you have a way of changing poll strategy when using HornetQ from Camel without akka? On Tue, Jul 29, 2014 at 3:25 PM, wrote: > Hi, > > In our Akka base

[akka-user] Akka-Camel Custom Polling strategy

2014-07-29 Thread ratika . prasad
Hi, In our Akka based application there is a need to control the UntypedConsumerActors ( required for flow control) who listen on the endpoint URI's. Is there a way we can set up an custom poll strategy on these Endpoint URI and consumers so that it polls (consumes messages from Endpoint which