Posted By:
vimal_bavishi
Posted On:
Friday, April 18, 2008 04:51 AM
Hello, In my application i required to use JMS Topic. - I have created a publisher (TopicPublisher) which publish on topic. Before publishing to topic it adds IntProperty --> marker For e.g. TextMessage pubMessage = sessionPublisher.createTextMessage(); pubMessage.setIntProperty("marker", 1); - Now on i have multiple durable subscribers like each should process message with different Marker Property. - for the same i did like subscriber = sessionSubscriber.connectDurableSubscriber("mytopic", "Submarker1", "marker=1", false); My PROBLEM: when i publish message what ever value i set
More>>
Hello,
In my application i required to use JMS Topic.
- I have created a publisher (TopicPublisher) which publish on topic. Before publishing to topic it adds IntProperty --> marker
For e.g. TextMessage pubMessage = sessionPublisher.createTextMessage();
pubMessage.setIntProperty("marker", 1);
- Now on i have multiple durable subscribers like each should process message with different Marker Property.
- for the same i did like
subscriber = sessionSubscriber.connectDurableSubscriber("mytopic", "Submarker1", "marker=1", false);
My PROBLEM: when i publish message what ever value i set in marker --> my durable subscriber with marker = 1 gets all the messages... it should not happen, it should only get messages published with marker = 1...
Can anyone please help ASAP...
Thanks in advance...
<<Less