• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Deleting JMS Messages from the QUEUE

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am facing a typical and strange issue. I am trying to send a message from one queue(QUEUE1) to another (QUEUEU2). After reading the message,ie., after it gets consumed.,it should be deleted from the queue.But its not getting deleted and it will be in queue itself. After so many messages were to sent to QUEUE2 queue depth is getting icreased and its getting slow and forcefully we are shutting down the weblogic server and stopping queue to delete all the messages from the queue. Please help me out in deleting the message as soon as it gets consumed.

Thanks,
Vijaya.
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When a message is consumed succesfully, it is automatically removed from the queue and nothing else needs be done. So there's something happening in between that causes an erroneous situation.

To help, will you elaborate a bit more? Specifically

1. Do you have a consumer that reads from queue1 and as part of the processing moves the message to queue2?

2. Or is queue2 an 'error queue' to which weblogic automatically moves messages from queue1?
This can be configured on weblogic and the server moves the message to the error queue when they have expired on queue1. This typically happens when messages are not consumed because there arent active listeners or because message consumption threw an exception and the message was returned to the queue.

ram.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am also facing the same problem in WebLogic Server. The message consumed successfully, but still lying on the queue.

Is there any way to configure in weblogic server that the message redelivery count more than one, then want to redirect to Error Queue (another queue in the same application server)? Can you please suggest?


 
reply
    Bookmark Topic Watch Topic
  • New Topic