Reputation: 739
I would like to know what is the purpose of Context at JMS and why I need (or should) initialise it?
Upvotes: 1
Views: 518
Reputation: 3305
It's used to find your JMS provider and the various factories, topics, queues and other resources. Typically this is done via JNDI and so you need an initial context to start searching from.
Upvotes: 6