activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <>
Subject [GitHub] activemq-artemis pull request #601: ARTEMIS-596 fix JMS bridge example
Date Mon, 27 Jun 2016 17:21:03 GMT
Github user clebertsuconic commented on a diff in the pull request:
    --- Diff: examples/features/standard/jms-bridge/src/main/java/org/apache/activemq/artemis/jms/example/
    @@ -56,7 +56,7 @@ public static void main(final String[] args) throws Exception {
           Hashtable<String, String> targetJndiParams = createJndiParams(targetServer);
           // Step 2. Create and start a JMS Bridge
           // Note, the Bridge needs a transaction manager, in this instance we will use the
JBoss TM
    -      JMSBridge jmsBridge = new JMSBridgeImpl(new JNDIConnectionFactoryFactory(sourceJndiParams,
"ConnectionFactory"), new JNDIConnectionFactoryFactory(targetJndiParams, "ConnectionFactory"),
new JNDIDestinationFactory(sourceJndiParams, "source/topic"), new JNDIDestinationFactory(targetJndiParams,
"target/queue"), null, null, null, null, null, 5000, 10, QualityOfServiceMode.DUPLICATES_OK,
1, -1, null, null, true);
    --- End diff --
    I have actually reverted this constructor due to API changes.
    I have added a new property to set the name. This can probably be closed

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message