You can use the same API (ProducerTemplate and ConsumerTemplate) that
you found.
Willem
honno wrote:
Yes.We can send and receive messages to the remote camel server with some
components(camel-jms,camel-cxf...),but i want to kown that which camel
client api i can use to access remote camel server.
willem.jiang wrote:
Hi,
If you are using the component that can send/receive the message across
the JVM, such as camel-jms, camel-http, camel-cxf, camel-mina.
All you need to do is setting the right endpoint uri on the Template API.
Willem
honno wrote:
We know the camel clients( ProducerTemplate and ConsumerTemplate) can
send
and receive messages from loacal Camel server(DefaultCamelContext).
But how can i send and receive messages from remote Camel server with
camel
client or camel api ?