Re: Rate of messages sent to JMS

2011-10-28 Thread ajay.karthik.nn
Hashtable env = new Hashtable(); env.put(Context.PROVIDER_URL, "tcp://10.58.116.18:61616?daemon=true"); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory"); InitialContext ic = new InitialContext(env); QueueConnectionFactory queueConnectionFactory = (Q

Re: Rate of messages sent to JMS

2011-10-25 Thread ajay.karthik.nn
I am using camel 2.8.1 version and i am using ActiveMQ. Here is the peice of code i am using DefaultCamelContext camelContext=new DefaultCamelContext(); ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://IP:port"); camelContext.addComponent("test-jms", Jms