users@genericjmsra.java.net

Re: specifying the external destination

From: LordFoom <lordfoom_at_gmail.com>
Date: Mon, 30 Mar 2009 13:25:33 +0200

Hi Ramesh,

Thanks for the reply. I was under the impression that jmsra was only
for built-in JMS providers, that is where glassfish handles it all?

This is the situation: we have a jms queue running stand-alone
(possibly on another server). I want to use glassfish to provide
handles to this jms destination (for the webservices I'm developing),
so as not to have to rely on property files, etc. In other words, I
want to setup a kind of "transparent proxy" where I ask the glassfish
container for the jms resource, and it constructs and injects the
EXTERNAL resource.

From the documentation, I thought one could use genericjmsra to
provide a "proxy" to the EXTERNAL jms provider? Am I mistaken?

Sorry for being such a beginner,
Timothy Spring



On Mon, Mar 30, 2009 at 12:44 PM, Ramesh <Ramesh.Parthasarathy_at_sun.com> wrote:
> Hi Timothy,
>   If you want to integrate GlassFish with Sun MQ (open mq) using the
> javabean mode of integration, the most optimal solution would be to use the
> jmsra, which is the built-in resource adapter (you can use the
> create-jms-resource commands directly for this). Please use genericra only
> if  want to use jndi mode.
>
> To answer your question, yes Name is the physical destination's name, it can
> either be Name or imqDestinationName
>
> Thanks
> Ramesh
> LordFoom wrote:
>>
>> Hi,
>>
>> I'm totally new to JMS and glassfish, so please excuse my noobness.
>>
>> I'm trying to setup the genericjmsra in glassfish to handle messaging
>> to a sun message queue that is running outside the container (possibly
>> on another box).
>>
>> My question is this: where do I specify the physical destination, in
>> other words how/where do I point to the external queue?
>>
>> Is it in the following step?
>> asadmin create-admin-object --raname genericra --restype
>> javax.jms.Queue --property DestinationProperties=Name\\=clientQueue
>> jms/clientQueue
>>
>> is Name the external jms queue's name?
>>
>> Thank you,
>> Timothy Spring
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>
>