Embed HornetQ in Applications
HornetQ embedded in your own application HornetQ core is designed as a set of simple POJOs so if you have an application that requires messaging functionality internally but you don't want to expose that as a HornetQ server you can directly instantiate and embed HornetQ servers in your own application. For more information on embedding HornetQ, see Chapter 43, Embedding HornetQ.