tags:

views:

11

answers:

0

Hi,

I'm having troubles configuring a reply-to with tibco. We are sending messages to tibco from mule (2.2.2-SNAPSHOT) using an outbound-endpoint and this works fine without the reply-to tag. When we want to set the JMSReplyTo using the reply-to tag we always get the same error message, doesn't matter which address or ref we pass. The error is: javax.jms.InvalidDestinationException: Foreign Destinations not supported in JMSReplyTo, which is thrown by com.tibco.tibjms.TibjmsMessage.writeHeaders(TibjmsMessage.java:905). When we replace tibco with ActiveMQ the configuration works.

I'm puzzled, anyone has done this before with tibco and mule ?

Thanks in advance,

Bas BTW. this is our configuration

    <jms:connector name="tibcoJMSConnector"
                       jndiProviderUrl="tibjmsnaming://tincoserver:7222"                 
                       connectionFactoryJndiName="QueueConnectionFactory"
                       jndiDestinations="false"
                       forceJndiDestinations="false"
                       jndiInitialFactory="com.tibco.tibjms.naming.TibjmsInitialContextFactory"
                       specification="1.1"
                       numberOfConcurrentTransactedReceivers="1"
                       username="mule"
                       password="mule"
                       acknowledgementMode="AUTO_ACKNOWLEDGE"
                       persistentDelivery="true"
                       disableTemporaryReplyToDestinations="false">
        <spring:property name="jndiProviderProperties">
            <spring:map>
                <spring:entry key="java.naming.security.principal" value="mule"/>
                <spring:entry key="java.naming.security.credentials" value="mule"/>
            </spring:map>
        </spring:property>
    </jms:connector>

    <jms:endpoint name="TibcoArchive" queue="QUEUENAME" connector-ref="tibcoJMSConnector"/>
    <jms:endpoint name="tibco-test" queue="QUEUENAME" connector-ref="testJMSConnector"/>

    <model name="test-model" inherit="false">

        <service name="archive-service">
            <inbound>
                <jms:inbound-endpoint ref="tibco-test" >
                </jms:inbound-endpoint>
            </inbound>
            <echo-component />
            <outbound>
                <pass-through-router>
                    <jms:outbound-endpoint ref="TibcoArchive" synchronous="true" />
                    <reply-to address="jms://queue:QUEUENAME?connector=tibcoJMSConnector"/>
                </pass-through-router>
            </outbound>
            <async-reply timeout="2000">
                <jms:inbound-endpoint queue="QUEUENAME" connector-ref="tibcoJMSConnector"/>
                <single-async-reply-router/>
            </async-reply>
        </service>
    </model>