Hello,
no, the <jndi-name>jms/tQueue</jndi-name> is not required. It works fine
without it.
But when I use <jndi-name> and remove the activation-config-property
containing the TIBCO queue name (because I only want to specify the
glassfish JNDI-name), I get an InvalidPropertyException.
New sun-ejb-jar.xml:
<sun-ejb-jar>
<enterprise-beans>
<ejb>
<ejb-name>MyMDB</ejb-name>
<jndi-name>jms/GLASSFISH.QUEUENAME</jndi-name>
<pass-by-reference>false</pass-by-reference>
<jms-max-messages-load>1</jms-max-messages-load>
<is-read-only-bean>false</is-read-only-bean>
<refresh-period-in-seconds>-1</refresh-period-in-seconds>
<cmt-timeout-in-seconds>0</cmt-timeout-in-seconds>
<gen-classes />
<mdb-resource-adapter>
<resource-adapter-mid>genericra</resource-adapter-mid>
<activation-config>
<activation-config-property>
<activation-config-property-name>DestinationType</activation-config-prop
erty-name>
<activation-config-property-value>javax.jms.Queue</activation-config-pro
perty-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>ConnectionFactoryJndiName</activation-c
onfig-property-name>
<activation-config-property-value>TibcoJmsConnectionFactoryXAQueue</acti
vation-config-property-value>
</activation-config-property>
</activation-config>
</mdb-resource-adapter>
</ejb>
</enterprise-beans>
</sun-ejb-jar>
Regards,
Kerstin Pfitzner
________________________________________________________________________________________________________________________
Atos Origin GmbH, Theodor-Althoff-Straße 47, D-45133 Essen, Postfach 100 123, D-45001 Essen
Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de
ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC INGBDEFF, IBAN DE74 5002 1000 0010 1409 37
Geschäftsführer: Winfried Holz, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238
________________________________________________________________________________________________________________________