Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/601#discussion_r68618005
--- Diff:
examples/features/standard/jms-bridge/src/main/java/org/apache/activemq/artemis/jms/example/JMSBridgeExample.java
---
@@ -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 [email protected] or file a JIRA ticket
with INFRA.
---