Java Reference
In-Depth Information
<dependency>
<groupId>org.jboss.spec.javax.jms</groupId>
<artifactId>jboss-jms-api_1.1_spec</artifactId>
<scope>provided</scope>
</dependency>
Now start a JBoss AS 7 configuration, which includes the messaging subsystem
such as standalone-full.xml :
standalone.sh -c standalone-full.xml
Note
Remember, when switching to another server configuration you will need to re-
create all the example resources, such as, data sources that were set up initially
for your standalone configuration.
Now deploy your application using either Eclipse's Server view or Maven and access
the application at http://localhost:8080/ticket-agency-jms/ .
Everything should work just like the earlier JPA project; however, you should notice
in your application server console the message shown in the following screenshot,
which confirms that a seat has been booked:
Search WWH ::




Custom Search