[Deployers on JBoss (Deployers/JBoss)] - Re: JBAS-4593 -- Leaking classloader via JMX Notifications
by scott.stark@jboss.org
There are no expected listeners, its just part of the jmx management
interface to emit notifications when class loaders are added/removed
from a repo. I do see that there is a
org.jboss.aop.deployment.LoaderRepositoryUrlUtil class referencing the
CLASSLOADER_ADDED/CLASSLOADER_REMOVED event types to track some internal
sequence number, but that is the only explicit usage in the 4.2 codebase
I can find. In the past there were thoughts about using these notifications to handle implicit deployment dependencies based on usage of a class from the repository, but this was never fleshed out.
I don't see a problem with wrapping the class loader in a WeakReference
to avoid the jmx layer being a strong referent. NotificationListeners
would have to be aware that the Notification user data has changed to a
WeakReference. This could be added as an optional behavior based on a
system property. Notification emission could also be disabled altogether as well based on this property.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075944#4075944
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075944
18 years, 7 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Remove Message w/ Selector & list unique prop value
by hendra_netm
Hi guys,
Currently, I am trying to implement "Remove messages with selector" and "List unique property value" in my local copy of JBoss Messaging. I hope that these features can be also put in official JBoss Release. ;)
Below is the explanation of the features.
"Remove Messages With Selector" is usable for operator that want to remove "certain" type of messages in destination.
For example, remove messages with customer id's value 1000. This is happened becaused sometime a value become obsolete, and all messages related to it have to be removed from destination.
List Unique Property Value is useful for listing unique value of a property. Sometime operator wants to know what kind of values available in destination, and acts based on the value received.
For example, when we have three messages, each has property customer Id with value 1000, 2000, 1000 respectively. When users call list unique property customer Id, they will received a list contains values 1000, and 2000. Based on this, users know how many customer use the service.
What's your opinion these features? If you are agree then I will create JIRA tasks and work on them.
Thank you for your time reading this.
Best Regards,
Hendra
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075893#4075893
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075893
18 years, 7 months
[Design of JBoss ESB] - Re: Alternative Message Discussion
by mark.little@jboss.com
"tfennelly" wrote : I too think it's important that we revisit this stuff. But I also think we're just way too late for 4.2.x.
|
+1 (again).
anonymous wrote :
| Mark and I had an IM conversation on this topic on Friday morning last. At that time, I told him that I made an effort to gather my thoughts on this stuff a few weeks ago. I did it by way of putting together what I thought I'd like to see in the Message, taking the current message, my own experiences of using our Message, feedback from other users etc into consideration. I told Mark that I'd clean it up over the weekend.
|
| This is what I came up with. We obviously don't need to discuss anything in it right now. It's there for anyone to look at and we can discuss post 4.2.x.
Thanks Tom. You're missing Context as a separate item in the Message and as I've said many times before, it is an important concept for SOA. Anyway, let's table the discussions for post 4.2.x when we all have more time to think and put our feet up ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075766#4075766
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075766
18 years, 7 months