-
1. Re: hornetq-configuration.xml and hornetq-jms.xml files,
igarashitm Apr 22, 2013 2:44 AM (in response to puttime)hornetq-configuration.xml and hornetq-jms.xml are placed in src/test/resources for just testing purpose so the HornetQMixIn could start standalone HornetQ instance. You don't need it when you deploy your application on AS7 with HornetQ enabled. If you want to use HornetQMixIn and standalone HornetQ in your unit test case, those 2 files are not created automatically, so just copy those from one of SY quickstarts to the src/test/resources in your application and modify if you need.
And then, going to 2nd question:
I tried adding this to my project's pom.xml,
<dependency> <groupId>org.hornetq</groupId> <artifactId>hornetq-core-client</artifactId> </dependency> <dependency> <groupId>org.hornetq</groupId> <artifactId>hornetq-core</artifactId> </dependency> <dependency> <groupId>org.hornetq</groupId> <artifactId>hornetq-jms</artifactId> </dependency> <dependency> <groupId>org.hornetq</groupId> <artifactId>hornetq-jms-client</artifactId> </dependency> <dependency> <groupId>org.jboss.netty</groupId> <artifactId>netty</artifactId> </dependency>
but I get the error saying:
Project build error: 'dependencies.dependency.version' for org.hornetq:hornetq-core-client:jar is missing.
Project build error: 'dependencies.dependency.version' for org.jboss.netty:netty:jar is missing.
and so on.
You may need to add "version" element for each dependency entry as the error message says. You can see SwitchYard parent pom to know which version is used by SwitchYard.
https://github.com/jboss-switchyard/parent/blob/master/pom.xml