Reported by
something_ryan0 (1242861040|%O ago)
I suggest that a function named amq_client_session_try (or something similar) should be added to OpenAMQ to make it so that applications that do not wish to wait around if there are no messages available to get can simply call that function. If a message loop wishes to do background processing when there are no messages and check back in to see if something is there, it currently requires calling amq_client_session_wait with a 1ms pause.
Please see http://lists.openamq.org/pipermail/openamq-dev/2009-May/001438.html for more information.
Attachments:
No files attached to this page.
Comments
Who's following this issue?
Submitted by
something_ryan0
Use one of these tags to say what kind of issue it is:
- issue - a fault in the software or the packaging or the documentation.
- change - a change or feature request.
Use one of these tags to say what state the issue is in:
- open - a new, open issue.
- closed - issue has been closed.
- rejected - the issue has been rejected.
Use one of these tags to say how urgent the issue is:
- fatal - the issue is stopping all work.
- urgent - it's urgent.
All open
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (1264698241|%B %d, %Y) [open]
83 - WireAPI: How to 'override' signal handlers? (1263490390|%B %d, %Y) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (1262770441|%B %d, %Y) [open]
81 - AMQP Topic Exhange Routing (1262046077|%B %d, %Y) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (1258720402|%B %d, %Y) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (1256883113|%B %d, %Y) [open]
78 - Error while publishing the messages faster (1256882266|%B %d, %Y) [open]
77 - Tuning for latency (1256748435|%B %d, %Y) [open]
76 - New user forum (1256729358|%B %d, %Y) [change open]
74 - Simulaneous connect/disconnect from multiple threads crashes (1251991933|%B %d, %Y) [open]
73 - Topic Exchange not sending a message to XXX.* (1251234643|%B %d, %Y) [open]
72 - amq_content_basic_new() causes seg fault if not connected to broker (1250121043|%B %d, %Y) [open]
71 - zyre bugs (1249551228|%B %d, %Y) [open]
69 - OpenAMQ and Zyre (1247657260|%B %d, %Y) [open]
68 - Change names of max and min source code macros (1247244737|%B %d, %Y) [open]
67 - Server crash when multiple consumers ack on shared queue (1246016123|%B %d, %Y) [open]
63 - Broker Crashing (1242332233|%B %d, %Y) [open]
61 - Simple access rights model (1241180394|%B %d, %Y) [open]
60 - Fatal error in icl_mutex_lock (1241084787|%B %d, %Y) [open]
59 - Direct Mode "message too large" error (1240615062|%B %d, %Y) [open]
Most recent
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (1264698241|%B %d, %Y) [open]
83 - WireAPI: How to 'override' signal handlers? (1263490390|%B %d, %Y) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (1262770441|%B %d, %Y) [open]
81 - AMQP Topic Exhange Routing (1262046077|%B %d, %Y) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (1258720402|%B %d, %Y) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (1256883113|%B %d, %Y) [open]
78 - Error while publishing the messages faster (1256882266|%B %d, %Y) [open]
77 - Tuning for latency (1256748435|%B %d, %Y) [open]
76 - New user forum (1256729358|%B %d, %Y) [change open]
75 - crash while building on ubuntu 9.04 (1253002089|%B %d, %Y) [closed]







Use a -1 timeout, as in this test example:
Portfolio