[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remove Message w/ Selector & list unique prop value
by hendra_netm
Hi genman,
The system that I would like to create using jboss messaging is kind of messages router.
So every messages should be delivered to specific user. In some occasions, I consider that users can decide to delete their account. In this case, operator needs to remove those messages somehow.
Expiration Queue may become alternative solution. However, this may cause confusion between messages that should be keep in expired queue and messages that should be deleted.
List Unique Property Value is useful also for that scenario. Operator needs a way to get available values in the queue to know whether there is any obsolete messages in the queue or not.
List all Messages can be used but I think it can become a burden for the network if lots of messages were in queue.
====================================
For the implementation, I use something like remove all messages, but with filter. So every messages will be checked. If it matchs with the filter, it is going to be removed from the queue.
Your idea seems simpler than mine. I will look into it.
List Unique Property Value is implemented by using the same algorithm as ListAllMessages, but the method will only return the unique and requested values.
This method may be used only for my case. So may be this method should be developed to give more functions, or may be there is another solution to get the value.
Thank you for your comment.
Best Regards,
Hendra
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078268#4078268
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078268
18 years, 7 months
[Design of JBoss jBPM] - Contributing back to the jBPM community - business calendar
by stevenl
Hi All,
Firstly, great product guys. jBPM has met our expectations with what we were requiring regarding an open source BPM solution.
For a project I?ve been involved with, I?ve had to implement jBPM v3.1.2 to cater for number of business requirements. Two requirements that carry the most importance for this thread are outlined below:
1. a requirement where the business time duration between two dates had to be calculated
2. business calendar properties file to be loaded from a location that is easy to maintain (in this case, the server file system)
I have had to modify core jBPM code as I was unsuccessful in finding functionality in jBPM that could handle the two requirements outlined above.
So I wish to present a question regarding code that I wish to contribute back to the jBPM community ? I believe this is mandatory as per the LGPL licence agreement. In this case, two new classes: one that contains a method that will calculate the business time duration between two dates and another class that will accept a valid calendar properties file to configure the jBPM calendar feature. What is the best approach to doing this?
I have searched the jBPM JIRA and have found two applicable issues relating to the two points made above.
http://jira.jboss.com/jira/browse/JBPM-99
Point 2 in issue JBPM-99 highlights the exact functionality that I required (for point 1 - above), however I wasn?t able to find the implementation in jBPM.
http://jira.jboss.com/jira/browse/JBPM-927
The resolution for issue JBPM-927 has resolved my second point in a more recent version of jBPM.
Any pointers in the right direction would be greatly appreciated.
Kind regards,
Steven Looi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078188#4078188
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078188
18 years, 7 months