lse if (substr.matches("blue\\s*")) {
messageSend.setDestination(this.getDestinations()[7]);
}
super.send(producerExchange, messageSend);
}
}
--
View this message in context:
http://www.nabble.com/Problem-trying-to-rout
messageSend.setDestination(this.getDestinations()[2]);
}
else if (substr.matches("blue\\s*")) {
messageSend.setDestination(this.getDestinations()[7]);
}
super.send(producerExchange, mes
>>> }
>>>
>>> public Broker installPlugin(Broker broker) throws Exception {
>>> return new MsgInterceptorPluginRouter2(broker);
>>> }
>>>
>>> public void send(ProducerBrokerExchange producerExchange, Message
>>> m
d);
}
}
--
View this message in context:
http://www.nabble.com/Problem-trying-to-route-with-Interceptors-tp22606463p22663866.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
---
Mit freundlichen GrĂ¼ssen - Kind Regards
Andreas Gies
Principal Consultant
Ope
t; String substr = content.substring(0,4);
>
> if (substr.matches("red\\s*")) {
> messageSend.setDestination(this.getDestinations()[2]);
> }
> else if (substr.matches("blue\\s*")) {
> mes
ns()[7]);
}
super.send(producerExchange, messageSend);
}
}
--
View this message in context:
http://www.nabble.com/Problem-trying-to-route-with-Interceptors-tp22606463p22606463.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.