Robert Greig wrote:
>
> 2008/5/28 TLFox <[EMAIL PROTECTED]>:
>
> I suppose it depends how you define "careful programming". You can
> insert a synchronous operation (in protocol terms) after the publish.
> For example, if you cast your javax.jms.Session to an AMQSession and
> call getQueueDepth(Destination) that would do the trick. There are
> other options - for example, declare the destination.
>
> RG
>
>
The JMS spec concerns the JMS API nothing more.What you have described is
outside the JMS API.
Of course it's possible to hack it someway or other using some other tool.
If we want to get really silly I could intercept the program image and
change the bytes, or use some AOP tool to insert my own code, but that
applies to any system.
I hope you realise what you suggested is pretty silly, I can pretend you
didn't say it if you want?
--
View this message in context:
http://www.nabble.com/Persistent-messages-sent-non-blocking-tp17517786p17518931.html
Sent from the Qpid Developers mailing list archive at Nabble.com.