You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Jochen Zink <jo...@web.de> on 2007/10/05 14:40:56 UTC
Problem with JMS Messages and MDB, not all Messages are sended to the MDB
Hello,
I have a JMS Queue and a MDB which are listen on this queue.
A JMS-clients sends 20 Messages to the queue. Know, the MDB is called exactly seven times. The onMessage Method is ended successfully.
After the Nr 7th of the MDB is ready with work, no more messages are sended to the Queue.
Is there any configuration Option, which I have not seen?
I'm using Gerionimo 2.0.1.
MDB is configured with annotations:
@MessageDriven(
activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "com.accumio.ae.engine/VorgangChangedQueue"),
}
)
Thats all!
Thanks a lot!
Regards
Jochen
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten!
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
Re: Problem with JMS Messages and MDB, not all Messages are sended to the MDB
Posted by David Jencks <da...@yahoo.com>.
I have little idea what might be going on but I would try sending a
few hundred messages to see how many are received and I would use the
jmx viewer or hermes to browse the queues to see where they are
stuck. I'm wondering if there is some broker setting that is waiting
for more messages to be sent before sending a lot in a batch to the
client. I'm afraid I don't know anything about the queue browsers
other than their names but I think there is documentation on the
activemq site.
hope this helps
david jencks
On Oct 5, 2007, at 5:40 AM, Jochen Zink wrote:
> Hello,
>
> I have a JMS Queue and a MDB which are listen on this queue.
>
> A JMS-clients sends 20 Messages to the queue. Know, the MDB is
> called exactly seven times. The onMessage Method is ended
> successfully.
>
> After the Nr 7th of the MDB is ready with work, no more messages
> are sended to the Queue.
>
> Is there any configuration Option, which I have not seen?
>
>
> I'm using Gerionimo 2.0.1.
>
> MDB is configured with annotations:
> @MessageDriven(
> activationConfig = {
> @ActivationConfigProperty(propertyName =
> "destinationType", propertyValue = "javax.jms.Queue"),
> @ActivationConfigProperty(propertyName =
> "destination", propertyValue = "com.accumio.ae.engine/
> VorgangChangedQueue"),
> }
> )
>
>
> Thats all!
>
> Thanks a lot!
> Regards
> Jochen
> ______________________________________________________________________
> ___
> In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und
> gestalten!
> Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
>