activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pesochinskiy, Vadim \(MSCIBARRA\)" <Vadim.Pesochins...@mscibarra.com>
Subject Bad message problem
Date Fri, 23 Jun 2006 01:13:06 GMT
<HTML xmlns:eXclaimer="http://www.exclaimer.co.uk" xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:exc="http://www.exclaimer.co.uk/rtf">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD>
<BODY >
<DIV><DIV><FONT face='Arial' color=#000000 size=2>Hi!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have following problem.&nbsp;I have to use

reliable delivery and I have to make sure that each message is processed. If I 
have a bad message which&nbsp;kills the consumer ;-) (I know this is stupid, but 
consumer is JNI call to C++ and it is outside of my control&nbsp;...).&nbsp;If 
transaction is not committed the message will not leave the queue and it will 
kill&nbsp;next consumer which will try&nbsp;to process it&nbsp;(another instance

of consumer of the same type). Is there any mechanism which will help me to 
solve this type of problems? E.g. maximum number of retries to process a message 
before it is dumped. </FONT><FONT face=Arial size=2>Thanks a lot.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>- Vadim.</FONT></DIV></DIV>
<DIV>
<HR>
</DIV>
<P CLASS="BulletedList" STYLE="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; mso-list: none; tab-stops:
.5in"><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; mso-bidi-font-family: Arial"><FONT
FACE="Arial">NOTICE: If received in error, please destroy and notify sender.<SPAN STYLE="mso-spacerun:
yes">&nbsp; </SPAN>Sender does not waive confidentiality or privilege, and use
is prohibited.</FONT></SPAN></P>
<DIV>
</DIV></BODY></HTML>

Mime
View raw message