hii..please respond for my previous question...
On Tue, Sep 23, 2008 at 10:08 AM, Rama Sundari <sundari.drs_at_gmail.com>wrote:
>
> Hi..
>
> Yes ,the Servlet sends message to a JMS Queue and the MDB has the mapped
> name
> "jms/dia"..
> but in the ejb-jar.xml i specified ..
>
> <messaging-type>com.tedia.ra.cci.RAListener</messaging-type>
> <transaction-type>Container</transaction-type>
> where RAListener is specific to my ResourceAdapter Implementation..which is
> used to send call back to the MDB
>
> and in sun-ejb-jar.xml..
>
> <sun-ejb-jar>
> <enterprise-beans>
> <ejb>
> <ejb-name>DiaMDBBean</ejb-name>
> <jndi-name>jms/Dia</jndi-name>
> <mdb-connection-factory>
> <jndi-name>jms/DiaFactory</jndi-name>
> </mdb-connection-factory>
> <mdb-resource-adapter>
> <resource-adapter-mid>raimpl</resource-adapter-mid>
> </mdb-resource-adapter>
> </ejb>
> </enterprise-beans>
>
> In <mdb-resource-adapter> I specified my RA implementation rar name..
>
> means..is it not using the default jmsra..?
> As I explained earlier ..when the bean was deployed ..the
> activateendpoint() method is invoked..
>
> Is it the problem..why servlet is unable to invoke..the correct MDB with
> the specified MappedName....but I am sure that there is no other MDB with
> that name..
>
> If it is so..is it not possible to invoke the MDB from Servlet and get the
> callback from ResourceAdapter to same bean..?
>
> please explain...
>
> thanks a lot..for helping..
> On Mon, Sep 22, 2008 at 11:37 PM, <glassfish_at_javadesktop.org> wrote:
>
>> Hi,
>>
>> It seems that your servlet is sending a message to a "JMS" queue, and you
>> have deployed another MDB that process the received messages from this queue
>> (using the default "jmsra" connector). Maybe you have deployed another MDB
>> with the @MessageDriven(mappedName = "jms/Dia",...) annotation?
>>
>> In this scencario, your RA connector is only used to activate the correct
>> MDB's endpoint, but it is not required to process the received "JMS"
>> messages with the other MDB.
>>
>>
>> Good luck.
>> [Message sent by forum member 'jmarine' (jmarine)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=300826
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
> --
> Thanks,
> Rama Sundari.
>
--
Thanks,
Rama Sundari.