Re: Topic consume with polling (connection, thread) Need exmple

2011-11-24 Thread cbenaveen
Babak, Below is the brief which may help you to understand my use case. I have application which uses ActiveMQ (V 5.3.0) as MOM. We are using Camel (V 2.7.2) to CONSUME messages from the MOM server. One of the Module belongs to my application needs to register to camel with 7 unique subject for e

Re: Topic consume with polling (connection, thread) Need exmple

2011-11-23 Thread cbenaveen
Babak, >From the [1] PooledConnectionFactory API doc, i understand that the polling can be achieved for the producer, not for the consumer. My requirement is more off pooling consumer connection/sesssion rather than producer. [1] http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/

Re: Camle ActiveMQ connection polling and threading issue

2011-11-22 Thread cbenaveen
bvahdat, I did have the -Xmx1024m, but the -Xms set to 512m. Yes your assumption is correct. -- View this message in context: http://camel.465427.n5.nabble.com/Camle-ActiveMQ-connection-polling-and-threading-issue-tp5012594p5013150.html Sent from the Camel - Users mailing list archive at Nabble.

Re: Camle ActiveMQ connection polling and threading issue

2011-11-22 Thread cbenaveen
Using the * wildchar is not an option. The actual subject (during deployment) are different unique from each other. Here i am using the looping just for the POC. -- View this message in context: http://camel.465427.n5.nabble.com/Camle-ActiveMQ-connection-polling-and-threading-issue-tp5012594p501

Topic consume with polling (connection, thread) Need exmple

2011-11-22 Thread cbenaveen
Hi All, Can some body point me a good example of using camel to consume Topic message from ActiveMQ? Primarily i need to implement the connection/thread/session pooling while consuming message. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Topic-consume-with-polling-

Re: Topic consume with polling (connection, thread) Need exmple

2011-11-22 Thread cbenaveen
bvahdat, Thanks for the pointer. More than consuming i need example on how to reuse the connections, sessions. are there any example which show me how to do connection pooling for a Topic Consumer. By the way i did subscribed to the mailing list. -- View this message in context: http://camel.4

Camle ActiveMQ connection polling and threading issue

2011-11-21 Thread cbenaveen
Hi All, I am on my way to write a POC, in which i am facing issues related to threads. I have ActiveMQ (V5.3.0) running on my remote Linux (RHEL) box and which can be reached via tcp protocol and 62616 port. Here is my usecase which i am trying to implement in the POC. 1.My JMS client is runnin