In order to bind administered JMS objects into JNDI you'll need a JNDI provider that allows this through its API, many of the JNDI providers that are integrated with JMS providers are not fully functional and don't support this - check your documentation. In this example we'll use the Sun reference implementation for the filesystem available here along with JBoss.
Firstly you need to add the JNDI provider to the JMS providers classpath:
Next configure a context that we can browse:
You can get the connection factories, queues and topics into JNDI in two ways. Once you've selected them in the session tree either drag and drop them onto the context in the context tree or drop them onto a context in a context panel (i.e. one created after you've browsed a context. Once you've done this the bind tool is displayed:
For each object you must provider the name of the binding in JNDI, once done hit Bind and Hermes will attempt to bind the objects. Once done, re-browse the JNDI context and you can see the newly bound objects:
Editing once Bound
Once bound there are also some new options so you can rename or unbind objects as well as create contexts: