Just create a StomConnect object, configure it with whatever
ConnectionFactory you want from JBoss and call its start() method.

Use whatever JBoss mechanisms you want (EJB/MBeans/spring) to configure that

e.g. here's the JavaDoc
http://stomp.codehaus.org/maven/apidocs/org/codehaus/stomp/jms/StompConnect.html

On 26/02/2008, Johann Ungerer <[EMAIL PROTECTED]> wrote:
> Indeed... ;)
>
>  My problem is the documentation seems a little light, or I don't have enough 
> of a frame of reference to make sense of it.
>
>  Below the documentation from Stomp:
>  If you use some kind of dependency injection framework like Spring you can 
> configure StompConnect using XML if you prefer. Just configure the 
> StompConnect POJO with
>
>  the JMS ConnectionFactory instance
>  you can provide a JNDI InitialContext if you prefer, though its typcially 
> easier to just provide the JMS ConnectionFactory
>  optionally you can provide the uri to expose the Stomp services on.
>  i.e. the host name and port that Stomp clients will connect to. Typically 
> this will default to tcp://localhost:61613 but it can be any hostname/port
>
>  http://stomp.codehaus.org/Running+StompConnect
>
>  That does not tell me much I'm afraid.
>
>  So, if anyone knows how to demystify that, I'll be very grateful.
>
>  Thanks,
>
> j/
>
>  -----Original Message-----
>  From: James Strachan [mailto:[EMAIL PROTECTED]
>
> Sent: 26 February 2008 13:19
>  To: users@activemq.apache.org
>  Subject: Re: JBoss Messaging Stomp Configuration
>
>
> On 26/02/2008, Johann Ungerer <[EMAIL PROTECTED]> wrote:
>  > Hi James,
>  >
>  >  See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128884 for 
> the response from JBOSS.
>
>  So basically they are passing the buck :)
>
>  --
>  James
>  -------
>  http://macstrac.blogspot.com/
>
>  Open Source Integration
>  http://open.iona.com
>


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

Open Source Integration
http://open.iona.com

Reply via email to