activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexpeng <penzhen...@hotmail.com>
Subject Re: help! activemq5.0,why can not send failure message.
Date Tue, 25 Mar 2008 15:55:32 GMT

I have solve this problem. 

Thank you everybody

alexpeng wrote:
> 
> After I send message, I recieve it, then email this message using
> processMsgInfo() function which is asynchronized method to recieve the
> message. 
> after that, I disconnect the network,then send message,processMsgInfo has
> error,because it can not connect email server, the system gives follow
> error messages, and then I browse the database, the record was deleted. 
> (My thought is it should be in database, when I reconnect network, the
> message should be resend. )
> 
> 
> [org.springframework.jms.listener.DefaultMessageListenerContainer#0-1]
> ERROR MessageMdp:52 - Mail server connection failed; nested exception is
> javax.mail.MessagingException: Exception reading response; 
>   nested exception is: 
>         java.net.SocketException: Connection reset 
> 
> this connection reset cleans the database. how could I protecte it from
> deleting the data from database. 
> 
> If it is DefaultMessageListenerContainer's problem in springframe. so how
> could we protect from connection reset? 
> 
> I use
> <property name="sessionAcknowledgeModeName" value="CLIENT_ACKNOWLEDGE"/>
> <property name="transactionManager" ref="jmsTransactionManager" />
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/help%21-activemq5.0%2Cwhy-can-not-send-failure-message.-tp16260386s2354p16276693.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message