Issue Details (XML | Word | Printable)

Key: MULE-3785
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Dirk Olmes
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

Cache queues/topics looked up from JNDI

Created: 06/Oct/08 11:56 AM   Updated: 15/Nov/08 11:42 AM
Component/s: Transport: JMS
Affects Version/s: 2.1.0
Fix Version/s: 2.x Product Backlog

Time Tracking:
Original Estimate: 1 day
Original Estimate - 1 day
Remaining Estimate: 1 day
Remaining Estimate - 1 day
Time Spent: Not Specified
Remaining Estimate - 1 day

Issue Links:
Related
 

Labels:
User impact: Medium
Effort points: 1
Affects Docs: Yes


 Description  « Hide
The current implementation looks up a queue/topic from JNDI every time a message is being dispatched or received from it. We could cache the result of JNDI lookups and expose some JMX functionality to purge that cache

 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Andrew Perepelytsya added a comment - 06/Oct/08 12:29 PM
Spring's jndi lookup factories already provide caching.

Dirk Olmes added a comment - 07/Oct/08 02:50 AM
Spring's JNDI stuff doesn't have retry functionality, however. And we cannot use Spring in core because it has to work spring-less.

Andrew Perepelytsya added a comment - 23/Oct/08 05:45 PM
On the other hand, I'm yet to be convinced about the benefit of such caching. Need those performance numbers from profiler, otherwise it's more troublesome than beneficial.

Ross Mason added a comment - 15/Nov/08 11:42 AM
I think caching would make a difference since depending on the JNDI directory we may be making a network hit for every message