On 27/02/2008, Kamal <[EMAIL PROTECTED]> wrote:
>
>  I am getting this warning in the activemq console, hope this can be safely
>  ignored.  Is there any way to get rid of this.  This might be resulting
>  while setting the property JMSXGroupFirstForConsumer, I am not getting
>  proper values for this property. It is ok for me as I don't have any logic
>  that is dependent on it.
>
>  WARN  QueueSubscription              - Failed to set boolean header:
>  javax.jms.MessageNotWriteableException: Message properties are read-only
>  javax.jms.MessageNotWriteableException: Message properties are read-only
>                 at
>  
> org.apache.activemq.command.ActiveMQMessage.checkReadOnlyProperties(ActiveMQMessage.java:568)
>         at
>  
> org.apache.activemq.command.ActiveMQMessage.setObjectProperty(ActiveMQMessage.java:382)
>         at
>  
> org.apache.activemq.command.ActiveMQMessage.setBooleanProperty(ActiveMQMessage.java:534)
>         at
>  
> org.apache.activemq.broker.region.QueueSubscription.assignGroupToMe(QueueSubscription.java:134)
>         at
>  
> org.apache.activemq.broker.region.QueueSubscription.canDispatch(QueueSubscription.java:101)
>         at
>  
> org.apache.activemq.broker.region.PrefetchSubscription.dispatch(PrefetchSubscription.java:383)
>         at
>  
> org.apache.activemq.broker.region.QueueSubscription.dispatch(QueueSubscription.java:172)
>         at
>  
> org.apache.activemq.broker.region.PrefetchSubscription.add(PrefetchSubscription.java:129)
>         at
>  org.apache.activemq.broker.region.Queue.addSubscription(Queue.java:19

Are you using ActiveMQ 4.1.1 by any chance? I think this might have
been fixed in 5.0.0; its the broker trying to mark the first message
group message as being the first to be dispatched to a consumer.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to