Hello upankar

I was the one who posted a similar question last month and after much searching 
I was unable to find a solution to my problem.  I was told that there might be 
a patch, but I am unable to find it.  Not sure if you have to have a 
subscription to access it.  I did find a reference to a post made a couple of 
years ago, but have not seen any solutions.  I have been thinking about 
creating my own patch, but have been waiting to see if others have a better 
solution.

I have been thinking about adding code to the browse method of the BasicQueue.

public SpyMessage[] browse(String selector) throws JMSException {
.
.
.

    SpyMessage [] list ....

    for (Iterator i = events.keySet().iterator(); i.hasNext(); ) {
        MessageReference message = (MessageReference)iter.next();
        list[XXX] = message.hardReference; // may need to do a clone here
    }

    return list;
}


Some feedback would be great.

All I havve to do now is to figure out how to compille up my changes.

Thanks

Shafiek



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911972#3911972

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911972


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to