-
1. Re: JBoss & HornetQ first try
Justin Bertram May 25, 2012 9:02 AM (in response to Laura delli Paoli)1 of 1 people found this helpfulCan you clarify your use-case a bit more? Do you have an application running within JBoss AS7 which needs access to the HornetQ API or is it a stand-alone application communicating with HornetQ hosted in JBoss AS7?
-
2. Re: JBoss & HornetQ first try
Laura delli Paoli May 25, 2012 9:06 AM (in response to Justin Bertram)Hi, thanks for your answer!!!
I think I should refer to the former case, an application running within JBoss AS7 which needs access to the HornetQ API.
-
3. Re: JBoss & HornetQ first try
Justin Bertram May 25, 2012 9:15 AM (in response to Laura delli Paoli)In that case, you need to specify your application's dependency on HornetQ so that the classloader will expose the HornetQ JARs to it. You can do this by putting a line like this in the MANIFEST.MF of your application JAR:
Dependencies: org.hornetq
-
4. Re: JBoss & HornetQ first try
Laura delli Paoli May 25, 2012 9:36 AM (in response to Justin Bertram)Thanks!
If I use Eclipse IDE (with JBossTools), which kind of project is the most suitable for such an application?
-
5. Re: JBoss & HornetQ first try
Justin Bertram May 25, 2012 9:47 AM (in response to Laura delli Paoli)I don't use JBossTools (and never really have) so I can't really advise you on that point. You might try the JBoss Tools forum regarding that particular question.
-
6. Re: JBoss & HornetQ first try
Laura delli Paoli May 25, 2012 9:54 AM (in response to Justin Bertram)Ok, thanks!