firestruq
firestruq

Reputation: 739

what is the purpose of Context in JMS?

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

Answers (1)

Martijn Verburg
Martijn Verburg

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

Related Questions