JMS Bridge With Remote TIBCO Broker

Using ActiveMQ > User Submitted Configurations > JMS Bridge With Remote TIBCO Broker

Example of a configuration that shows how to use a BridgeConnector to make a connection to a remote TIBCO EMS broker.

    <!-- Allows us to use system properties as variables in this configuration file -->
    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

    <broker useJmx="true" persistent="false" xmlns=""
            brokerName="localhost" dataDirectory="${activemq.base}/data">

        <!-- Dependencies: tibjms.jar must be in the activemq lib directory -->

        <!-- bridging definitions for traffic to/from remote activemq instance -->
            <jmsQueueConnector outboundQueueConnectionFactory="#tibco">
                            inboundQueueName = ""
                            localQueueName   = ""
                            selector         = "JMSType LIKE 'foo%'"/>
                            outboundQueueName = "queue.pong"
                            localQueueName    = ""
                            selector          = "JMSType LIKE 'foo%'"/>

    <!-- JMS ConnectionFactory to use for local bridging -->
    <bean id="tibco" class="com.tibco.tibjms.TibjmsQueueConnectionFactory">
        <property name="serverUrl" value="tcp://remote_tibco:7222" />

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.