I have a requirement where when user clicks a link from e-mail, then it should display XML message that is retrieved from JMS Queue based on the correlation id present on the URL link.
Could you please suggest me a way to achieve this?
Since the user needs to click on a link, you need something that can accept a link. Which is a servlet, not an EJB. THe servlet would then call your EJB?JMS logic.