Hi,

I would like to know if it is possible to work in a client-server mode with
Camel ?
I launch a camelcontext in a standalone mode using a spring-camel.xml file
using the following code :

public class CamelServer {

        /**
         * Start Camel context.
         * 
         * @param args
         *            the args
         */
        public static void main(String[] args) {
                
                Main starter = new Main();
                // starter.enableDebug();
                // starter.enableTrace();

        
starter.setApplicationContextUri("com/xpectis/test/ProcessEvent-context.xml");

                starter.run(args);
        }

}

>From another java client that I call "camel client", I would like to
communicate with the endpoints of my camelContext in order to
produce/consume messages.

How can I achieve this ?

KR,

Charles Moulliard

-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : [EMAIL PROTECTED]
web site :  www.xpectis.com www.xpectis.com 
My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: 
http://www.nabble.com/Can-we-work-in-a-client-server-mode-with-Camel---tp20033318s22882p20033318.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to