Yes, that "jboss/src/main/org/jboss/jms/jndi/JBossMQProvider.java" is so
that JBossMQ can deliver messages to
the MDBs.  But if you wish to use SonicMQ from your EJBs that way that it is
documented in the EJB 2.0 spec, then
you ne to write a resource adapter for SonicMQ also.  Take a look at the
org.jboss.jms.ra package in jboss.  I think it might be generic enough to
work with sonic..

Let us know if it works,
Regards,
Hiram

----- Original Message -----
From: "Christian Riege" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 11:48 AM
Subject: [JBoss-dev] Replacing JBossMQ


> hi everybody,
>
> I need to access SonicMQ from my EJB's and I also need to use it for
> delivering messages to my Message Driven Beans (project w/ a client
> who is already using SonicMQ for his internal messaging).
>
> Looking at the source of JBoss (CVS HEAD checkout) I *guess* that I
> have to write something along the lines of
>
>     jboss/src/main/org/jboss/jms/jndi/JBossMQProvider.java
>
> i.e. a SonicMQProvider.java where I access the JNDI provided from
> SonicMQ and then place this SonicMQProvider into jboss.jcml replacing
> the standard JBossMQProvider.
>
> Is this the correct approach or am I missing something here?
>
> Best regards,
>     Christian
>
> --
> Riege Software International GmbH         Phone: +49 (2159) 91 48 - 0
> Mollsfeld 10                              Fax  : +49 (2159) 91 48 - 11
> 40670 Meerbusch, Germany                  http://www.riege.com/
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to