Hi,
Please do have a look at the content of my 3# post also.
I badly need this working , so continuously trying possibilities for resolving the issue.
Again Yesterday I tried fetching the remote tibco topic deployed in EMS TIBCO server, using <jee:jndi-lookup , also tried JndiDestinationResolver
Attaching snippet done using <jee:jndi-lookup
Code:
<jee:jndi-lookup id="gsaDefineSearchDestination1" jndi-name="My.Simple.Tibco.Topic" >
<jee:environment>
java.naming.factory.initial = com.tibco.tibjms.naming.TibjmsInitialContextFactory
java.naming.provider.url = tibjmsnaming://<host>:<port>
java.naming.security.principal = <user>
java.naming.security.credentials = <password>
java.naming.factory.url.pkgs = com.tibco.tibjms.naming
</jee:environment>
</jee:jndi-lookup>
This gives me an object of Topic[My.Simple.Tibco.Topic] where Topic class is of type com.tibco.tibjms.naming.TibjmsFederatedTopic.
Now using the same object in DMLC as in snippet below:
Code:
<bean id="defineSearchContainer"
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
<property name="connectionFactory" ref="ConnectFactory"/>
<property name="destination" ref="gsaDefineSearchDestination1"/>
<property name="messageListener" ref="Listener" />
<property name="sessionAcknowledgeModeName" value="AUTO_ACKNOWLEDGE"/>
<property name="pubSubDomain" value="true"/>
</bean>
DMLC throws warning message as mentioned below, & hence fails to invoke My Listener:
WARN [org.springframework.jms.listener.DefaultMessageLis tenerContainer] (defineSearchContainer-1) Setup of JMS message listener invoker failed for destination 'Topic[My.Simple.Tibco.Topic]' - trying to recover. Cause: Not a JBossDestination:Topic[My.Simple.Tibco.Topic]
This warning seems to me that DMLC is expecting a JBOSSDestination , and ofcourse my TIBCO Topic[My.Simple.Tibco.Topic] deployed in remote TIBCO JNDI server can
never be a JBOSS destination. Does this mean DMLC is limited to function only if the Topic is physically present/created in JBOSS & DMLC does not support access to
TIBCO topic deployed in TIBCO JNDI Server ? or am I missing some step while accessing remote TIBCO topic ?
Please enlighten me.
Regards,