users@genericjmsra.java.net

Re: Using GenericJMS with Weblogic 10.3 and WMQ or EMS

From: Ramesh <Ramesh.Parthasarathy_at_Sun.COM>
Date: Fri, 07 Aug 2009 10:23:54 +0530

Hi Martin,
> For an inbound flow do I need to specify any JNDI entries in the ra
> config or will that be dynamic based on the activation spec of the MDB
> that gets passed to the ra?
The properties specified in the ra config are inherited automatically,
so you dont have to specify the Jndi properties (inital context factory,
provider url...) unless you want to override these for your inbound
connection in activation spec. Same applies for outbound MCFs too.

The ra-config only properties like RMPolicy cannot be overridden at the
activation spec level.

Thanks
-Ramesh
Evans, Martin wrote:
> Thanks Ramesh,
>
> Sounds like what I want to do is feasible.
>
> For an inbound flow do I need to specify any JNDI entries in the ra
> config or will that be dynamic based on the activation spec of the MDB
> that gets passed to the ra?
>
> Does anybody have a working Weblogic example?
>
> Thanks,
>
> Martin
>
> -----Original Message-----
> From: Ramesh.Parthasarathy_at_Sun.COM [mailto:Ramesh.Parthasarathy_at_Sun.COM]
>
> Sent: 06 August 2009 12:22
> To: users_at_genericjmsra.dev.java.net
> Subject: Re: Using GenericJMS with Weblogic 10.3 and WMQ or EMS
>
> Hi Martin,
>
>
>> 1. Create a central JNDI repository for all queue managers and queues
>> in LDAP (I've done this already)
>>
> This would be for both WSMQ and EMS administered objects (destination
> and connection factories), correct ? And there would be one repository
> (a set of Jndi properties) which contains these objects from both
> providers.
>
>
>> 2. Configure the GenericJMS adapter in a fairly generic fashion, i.e a
>>
>
>
>> config I can deploy to any of my weblogic servers without change for
>> WMQ/EMS if possible.
>>
>>
> And the ra config would point to the Jndi properties of the object store
>
> created in (1).
>
>> I'm not too clear on outbound communications, I'm guessing I will need
>>
>
>
>> to create connection factories in the resource adapter config for
>>
> those?
> You can supply the Jndi names while creating the connection factory
> (managed cf) and admin objects in the Weblogic server. I have used
> GlassFish, so iam not familiar as to how exactly this can be done in
> Weblogic.
>
> Thanks
> -Ramesh
> Evans, Martin wrote:
>
>> Hi,
>>
>> I'm considering the use of GenericJMS with Weblogic 10.3 to connect
>> to, Websphere MQ and Tibco EMS. I wonder if anybody has done this yet
>> and if so do you have any examples to help me get started?
>>
>> If possible this is the way I would like to use the adapter;
>>
>> 1. Create a central JNDI repository for all queue managers and queues
>> in LDAP (I've done this already)
>>
>> 2. Configure the GenericJMS adapter in a fairly generic fashion, i.e a
>>
>
>
>> config I can deploy to any of my weblogic servers without change for
>> WMQ/EMS if possible.
>>
>> 3. Have MDB's specify the JNDI entries of the queue manager/queue to
>> receive messages.
>>
>> My understanding is that for inbound messages, the activation spec in
>> the MDB is passed to the adapter, which in turn uses that info to get
>> messages to deliver to the MDB?
>>
>> I'm not too clear on outbound communications, I'm guessing I will need
>>
>
>
>> to create connection factories in the resource adapter config for
>>
> those?
>
>> Any help/pointers would be greatly appreciated, I'll also be happy to
>> provide a guide that could be placed on the site once I get everything
>>
>
>
>> working.
>>
>> Thanks in advance,
>>
>> Martin
>>
>>
>>
>>
>>
> ========================================================================
> ======
>
>> Please access the attached hyperlink for an important electronic
>> communications disclaimer:
>> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>>
>>
> ========================================================================
> ======
>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>
>
> ===============================================================================
> Please access the attached hyperlink for an important electronic communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ===============================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>
>