org.apache.camel.example.client
Class CamelClientEndpoint

java.lang.Object
  extended by org.apache.camel.example.client.CamelClientEndpoint

public final class CamelClientEndpoint
extends Object

Client that uses the Mesage Endpoint pattern to easily exchange messages with the Server.

Notice this very same API can use for all components in Camel, so if we were using TCP communication instead of JMS messaging we could just use camel.getEndpoint("mina:tcp://someserver:port").

Requires that the JMS broker is running, as well as CamelServer


Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Apache CAMEL