activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Connecting to an existing XMPP server
Date Thu, 09 Aug 2007 14:02:47 GMT
On 8/9/07, Asankha C. Perera <asankha@wso2.com> wrote:
> Hi
>
> Can someone tell me how I could connect to an external XMPP server
> (instead of using the embedded XMPP server that ships with ActiveMQ) and
> use the XMPP transport with ActiveMQ

The easiest way is to bridge the two using Camel...
http://activemq.apache.org/enterprise-integration-patterns.html

http://activemq.apache.org/camel/xmpp.html

e.g. add the following to the <camelContext> in the activemq.xml

<route>
  <from uri="xmpp://myhost:port/myroom">
   <to uri="activemq:myQueue"/>
</route>

-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message