You need to add your Topic to the JNDI registry as JMS doesn’t know how to find the endpoint without looking it up.
The following should help:
You need to add your Topic to the JNDI registry as JMS doesn’t know how to find the endpoint without looking it up.
The following should help: