[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Count Messages with Selector and Edit Message
by timfox
"hendra_netm" wrote : Hi guys,
|
| At this moment, I may need some features like count messages with selector and Edit message in the queue.
|
| Count Message With Selector will return the number of message in the destination that match with the selector. In short, it is like "List All Message" with selector, but the method will only return a integer value.
|
There is already a version of listAllMessages that takes a selector. See user guide 6.6.2.2.2. ListAllMessages
anonymous wrote :
|
|
| The second feature that I need to add in JBM is Message Editor. So for example an Operator want to change the all property value from all messages in a queue that has value X.
|
| This behaviour is useful when the message's property is used for routing. Sometime, the operator wants to change the property value due to changing in the routing rule.
|
| Currently it is not possible to do that. You need to take all messages with value X, change the property value from X to Y, and return the message to the queue.
|
|
| ==
| What do you think about these features?
| If you agree, I would like to put those features as additional features for JBM. That's way, I don't need to change again, whenever JBoss come with new release.
|
| And if the feature is officially supported by the team, I am sure it is much better than if I do it alone ;)
Feel free to add a feature request for the other feature.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071937#4071937
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071937
18 years, 8 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Count Messages with Selector and Edit Message
by hendra_netm
Hi guys,
At this moment, I may need some features like count messages with selector and Edit message in the queue.
Count Message With Selector will return the number of message in the destination that match with the selector. In short, it is like "List All Message" with selector, but the method will only return a integer value.
The feature can be obtained by using "List All Message" and count the number later in the client. But imagined if the number of the messages is more than one thousand and each message has big content. I think this will give problem for the network.
The second feature that I need to add in JBM is Message Editor. So for example an Operator want to change the all property value from all messages in a queue that has value X.
This behaviour is useful when the message's property is used for routing. Sometime, the operator wants to change the property value due to changing in the routing rule.
Currently it is not possible to do that. You need to take all messages with value X, change the property value from X to Y, and return the message to the queue.
==
What do you think about these features?
If you agree, I would like to put those features as additional features for JBM. That's way, I don't need to change again, whenever JBoss come with new release.
And if the feature is officially supported by the team, I am sure it is much better than if I do it alone ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071936#4071936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071936
18 years, 8 months