If you are using auto-reconnection, then I don't think you should need to do anything particular to re-resume things on a reconnection. So just use the failover: transport to connect to the broker and use JMS streams
http://incubator.apache.org/activemq/how-can-i-support-auto-reconnection.html http://incubator.apache.org/activemq/jms-streams.html On 9/15/06, tianqio <[EMAIL PROTECTED]> wrote:
what can I do to implement this ? I think I can maintain the connection and destination in client, and get the outputstream if resume is acted.But I do not have a try,I do not know how dose the server handle stream msg ,so I can't predict the actually behavior of the server. any suggestion? especially whether there exists some API that I can judge a new msg or a resume msg from the server? -- View this message in context: http://www.nabble.com/implement-autoresume-file-sending-in-activemq--tf2275804.html#a6320181 Sent from the ActiveMQ - Dev forum at Nabble.com.
-- James ------- http://radio.weblogs.com/0112098/