users@glassfish.java.net

Re: How to bind my MDB to a Non-JMS Resource Adapter?

From: Markus KARG <markus.karg_at_gmx.net>
Date: Sun, 27 Jan 2008 11:11:45 +0100

> Your second try (using <resource-adapter-mid>) was the correct way.
> If that didn't work something else must be wrong.
> I'd need more info to make an educated guess at what it could be.
Just tell me all the information that you need and I will send you.

Thanks
Markus
>
> Markus KARG wrote:
>> I have deployed a self-written Non-JMS Resource Adapter, which
>> implementes solely an inbound (message inflow).
>> Now I want to bind a self-written MDB to it. The MDB gets deployed,
>> but GlassFish always binds it to jmsra.
>> Certainly that fails.
>>
>> How to I tell GlassFish to bind my MDB to my RA?
>>
>> The MID of the RA is "x", so:
>>
>> * I tried @MessageDriven(mappedName = "x"). Doesn't work. GF tries to
>> find "x" as a JMS resource (says the log).
>> * I tried <resource-adapter-mid>x</resource-adapter-mid>. Doesn't
>> work. GF says it has a problem with "TO x" (says the log).
>>
>> I spent hours to link those things together, but it just will not
>> work. I have used RAs and MDBs in JOnAS for years, but with GlassFish
>> there seems to be a trick I just cannot find out. :-(
>>
>> Any ideas?
>>
>> GF version used is: Jave EE SDK Updated 4.
>>
>> Thanks
>> Markus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>


-- 
http://www.xing.com/go/invita/58469