Skip to content
Snippets Groups Projects
Commit 1a8a6cc2 authored by Olivier Maury's avatar Olivier Maury
Browse files

Filtrer la souscription au topic. fixes #4

parent e6dd12d2
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,10 @@ import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.Topic;
import lombok.extern.log4j.Log4j2;
import org.apache.activemq.artemis.jms.client.ActiveMQMessage;
import lombok.extern.log4j.Log4j2;
/**
* JMS message receiver to handle message from SEASON calculation end.
*
......@@ -33,7 +33,7 @@ public final class SimulationDoneReceiver implements MessageListener, Runnable {
*/
public SimulationDoneReceiver(final JMSContext context, final Topic topic) {
LOGGER.traceEntry();
consumer = context.createConsumer(topic);
consumer = context.createConsumer(topic, "softwareOrigine='agrometinfo'");
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment