There is one additional thing you need. You have to call your route in
some way.
There are two methods:
1. camelContext.createProducerTemplate().sendBody or similar
2. pojo messaging: http://camel.apache.org/pojo-messaging-example.html
Depending on your application it may make sense to use pojo messaging to
separate your business code from the camel framework.
Christian
Am 14.05.2013 04:30, schrieb Christian Posta:
May want to take a look at some of the intro material:
http://camel.apache.org/getting-started.html
Essentially, you'll need to define a route builder that a builds a route
like:
from("direct:endpoint").throttle().to("jms:queueName")
http://camel.apache.org/cookbook.html
http://camel.apache.org/jms.html
On Mon, May 13, 2013 at 11:13 AM, Al Ferguson <[email protected]> wrote:
Hi,
I currently have a Java application that sends directly messages to a queue
using a Spring JmsTemplate:
I would like to take advantage of the facilities of Camel Throttling but I
do not see how to define my route. Could someone help me and tell me what I
have to do?
Regards,
Al. F
--
View this message in context:
http://camel.465427.n5.nabble.com/Steps-to-replace-a-direct-call-by-a-JMS-proxy-tp5732430.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com