[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBM 2.0 destination config.
timfox
do-not-reply at jboss.com
Wed Jan 9 11:07:19 EST 2008
"ataylor" wrote : ok, so we're on the same page.
|
| What I plan to do is have some sort of QueueSettingsRepository that can be used to find a property, i.e.
|
| | queueSettingsRepository.getRedeliveryDelay("queues.testQueue");
| |
| This means we can simplify ManagedDestination, removing all these properties. In fact theyre removed they'll be a simple wrapper and we can get rid completely.
|
| Security will be handled the same.
I currently (uncommitted) have a QueueFactory class.
This is used by the postoffice when it needs to create a queue
| public interface QueueFactory
| {
| Queue createQueue(long id, String name, Filter filter,
| boolean clustered, boolean durable, boolean temporary);
| }
|
|
The idea is the QueueFactory implementation applies the correct settings to the queue depending on the config in queues.xml, and return the correctly configured queue.
If you want to take charge of this you could provide the QueueFactory implementation, currently my skeletion version basically doesn't apply any settings
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118343#4118343
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118343
More information about the jboss-dev-forums
mailing list