Trying non-persistent delivery and client id
package won.protocol.jms;
import java.net.URI;
+import java.util.UUID;
import javax.net.ssl.KeyManager;
import javax.net.ssl.TrustManager;
@@ -98,6 +99,8 @@ public class BrokerComponentFactory {
activeMQComponent.setConfiguration(jmsConfiguration);
activeMQComponent.setTransacted(false);
activeMQComponent.setUsePooledConnection(true);
+ activeMQComponent.setDeliveryPersistent(false);
+ activeMQComponent.setClientId(UUID.randomUUID().toString());
return activeMQComponent;
}
}
