Hi Brian, When you set up a route with an xmpp component as a consumer (i.e. in the "from" of a route) the xmpp component will log in as that user, messages sent to that consumer will then be processed by that route. You can still log in as a producer from another route to produce messages as well. There's some ignored test in the camel-xmpp code worth checking out:
https://svn.apache.org/repos/asf/camel/trunk/components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppRouteChatTest.java and https://svn.apache.org/repos/asf/camel/trunk/components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppRouteMultipleProducersSingleConsumerTest.java They're disabled because they require an xmpp server to be set up. On Fri, Apr 15, 2011 at 3:21 PM, Brian Troutwine <br...@troutwine.us> wrote: > Hello, all. > > I understand from the XMPP documentation[1] how to actively create a > connection with another XMPP user. For instance, if I run a bot whose > JID is troutw...@jabber.org and I wish to establish a connection with > br...@jabber.org I use this endpoint: > > xmpp://troutw...@jabber.org/br...@jabber.org?password=12345 > > How do I passively establish connections? That is to say, how do I log > troutw...@jabber.org in so that br...@jabber.org can begin a chat with > it? Once a passive connection is established, how do I create > permanent Producer/Consumer endpoints from the passive connection? > > -- > Brian L. Troutwine > > [1] http://camel.apache.org/xmpp.html >