activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Ack,Redelivery,sessionTransacted--- Consumer Slowly!!!
Date Tue, 09 Aug 2016 22:09:39 GMT
I'm sorry, but I have no idea what question you're asking.  Could you
explain in more detail?

A few things to start with:

   - What do you mean by "So there is a problem here :"?
   - What do you mean by "sessionTransacted must set the value true. if not
   Redelivery Invalid"?
   - What do you mean by "All Messages Dequeued until previous message
   redilivery completed."?

Tim

On Tue, Aug 9, 2016 at 12:45 AM, jacky.wang <654979493@qq.com> wrote:

> hi all.
> Rqurement Case:
> Consumer consumed message until logic method called successful.
> Flow Chart:1.Producer send message - > 2.MessageListner - onMessage() ->
> 3.call  logic method successfully -> 4.then Ack() -> 5.message consumed or
> dequeued
>
> DefaultMessageListener Container config:
> <bean id="jmsContainer"
>                 class="org.springframework.jms.listener.
> DefaultMessageListenerContainer">
>                 <property name="connectionFactory" ref="connectionFactory"
> />
>                 <property name="destination" ref="feedsQueueDestination" />
>                 <property name="messageListener"
> ref="consumerMessageListener" />
>
>                 <property name="sessionTransacted" value="true" />
> </bean>
>
> sessionTransacted must set the value true. if not Redelivery Invalid。
> So there is a problem here :
> All Messages Dequeued until previous message redilivery completed. so my
> consumer is slowly.
>
> Best Regards.
>
>
>
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Ack-Redelivery-sessionTransacted-Consumer-Slowly-tp4715220.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message