[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)

2004-08-03 Thread Dzerzhinsky
Thank you very much.
The one think I can't understand it's why my cache in this situation still recieves 
messages. I don't mean that my onMessage() method being called, but when I look at 
profiling statistics for my test code I see that most part of time it's took to read 
from soket in JMS listerning thread even if no messages was received. So why it's so, 
where is performance? I don't need my cache recieve unneeded messages ever.
Any suggestions?  

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)

2004-07-26 Thread doflynn
1) Create a JMS TopicConnecton
2) Create a JMS TopicSession
3) Register a message subscription via TopicSession.createSubscriber(topic, selector, 
local)
**) note the use of the message selector
4) Receive messages using the TopicSubscriber.receive()

Note: if you create a durable subscriber, remember to "unsubscribe()" when it is no 
longer needed.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)

2004-07-23 Thread Dzerzhinsky
Could you point me to some of this examples, please.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Filtering messages (not in MDB)

2004-07-23 Thread genman

Those interfaces are only provided for use by the server implementation, i.e. JBoss.  
They are not designed to be used by you.  If you want to filter messages, use a 
message selector.  There are plenty of examples out there on receiving messages 
without employing a MDB.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user