I think you can have a look at the 'http' example in JBM. By the way JBM community support has long been ceased. Users are encouraged to use HornetQ which provides supreme performance and more functionalities.
Hi Yong Hao Gao,
I know about HornetQ but we have to use JMS because it has database persistence.
Other ideea where I can find a good description for how to set it?
take a look at http example, esp this config file: