Problem Statement
In Oracle Fusion(SOA, OSB, ODI) assuming a scenario when a customized service is transforming a web service, file-based or any other form of the message and send it to Edge application via JMS Queue and the content of the message is not acceptable by the Edge application. It could result in below outcomes:
• A message with incorrect content/data starts spinning in admin Weblogic console and remain in Message Pending of JMS Queue
• If we allow the message to spin, then it leads to an increase in error logs in Edge Application which eventually fills up the storage
• Gradually after filling up the storage of edge application then may cause the edge application servers to crash and go in shutdown state
Workaround
Delete this unwanted spinning message from the JMS Queue.
If one is unable to delete the message from the JMS Queue, then pause the JMS queue and let the message go into Message Current from Message Pending
Permanent Solution
On Weblogic admin console of Fusion, for each such customizes JMS Queue create a corresponding error JMS queue.
Once those error JMS queue is created then
- Go to JMS Module
- Click on
- Click on actual JMS Queue where the message is spinning
- Click on Delivery Failure tab
- Click on Lock and Edit (on the left-hand side under Change Center)
- Amend Redelivery Delay Override to the desired value like 5 (This is in milliseconds and retries the same message after the set value)
- Amend Redelivery Limit to the desired value like 5 (Number of retries attempted)
- Amend Expiration Policy to Redirect (This moves the above-unwanted message post number of retries to an Error Destination)
- Amend Error Destination to Error JMS Queue Name
Benefits
• Restriction on number of attempts of incorrect message
• Unwanted messages are no longer spinning in Weblogic admin server of Fusion
• Reduce the probability of filling up of storage as there is a reduction in
error logging of edge application
• Edge application servers remain healthy and up and running

Very nice and helpful. Helped me resolve a similar problem I was having at work
LikeLike
Very informative. Helped me resolved a similar problem at work
LikeLike
Very informative and well explained
LikeLike
VEry good info on JMS handling, looking for more such posts.
LikeLike
Thanks for helping me
LikeLike
Very helpful
Thanku so much
LikeLike
Very beneficial
LikeLike
Thank you.
LikeLike
Best
LikeLike
👍
LikeLike
Best
LikeLike
Very nice
LikeLike
You explain very easily…looking for more such information!!
LikeLike
Good work…useful information
LikeLike
Good explanation of JMS Queue and error queue.
LikeLike
Very Nice!
LikeLike
Keep writing this post as it is helping us!
LikeLike
Good post helped me a lot..
LikeLike
Gained my knowledge!
LikeLike
Content has helped me solve my project issue.
LikeLike
Very informative
LikeLike
Exactly the information I required!
LikeLiked by 2 people
Very well written making it easy to understand!!!
LikeLiked by 1 person