From seam-commits at lists.jboss.org Fri May 7 00:54:45 2010
Content-Type: multipart/mixed; boundary="===============0217643249961996160=="
MIME-Version: 1.0
From: seam-commits at lists.jboss.org
To: seam-commits at lists.jboss.org
Subject: [seam-commits] Seam SVN: r12695 -
modules/jms/trunk/docs/reference/src/main/docbook/en-US.
Date: Fri, 07 May 2010 00:54:45 -0400
Message-ID: <201005070454.o474sjNv001375@svn01.web.mwc.hst.phx2.redhat.com>
--===============0217643249961996160==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: jganoff
Date: 2010-05-07 00:54:44 -0400 (Fri, 07 May 2010)
New Revision: 12695
Added:
modules/jms/trunk/docs/reference/src/main/docbook/en-US/installation.xml
Modified:
modules/jms/trunk/docs/reference/src/main/docbook/en-US/gettingstarted.x=
ml
modules/jms/trunk/docs/reference/src/main/docbook/en-US/intro.xml
modules/jms/trunk/docs/reference/src/main/docbook/en-US/master.xml
Log:
Updated documentation
Modified: modules/jms/trunk/docs/reference/src/main/docbook/en-US/gettingst=
arted.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/jms/trunk/docs/reference/src/main/docbook/en-US/gettingstarted.=
xml 2010-05-07 03:50:12 UTC (rev 12694)
+++ modules/jms/trunk/docs/reference/src/main/docbook/en-US/gettingstarted.=
xml 2010-05-07 04:54:44 UTC (rev 12695)
@@ -23,30 +23,90 @@
+ Getting Started
=
- Getting started
+
+ In this chapter we'll look at how to inject JMS resources and route =
events over JMS.
+
=
-
- In this chapter we'll look at how to setup a Maven project to use the
- JMS module, how to inject JMS resources and how to route events over
- JMS.
-
- =
-
- Setting up a Maven project
- =
- TODO
-
- =
-
- Injection JMS Resources
- =
- TODO
-
- =
-
- Routing Events over JMS
- =
- TODO
-
+
+ JMS Resource Injection
+
+ The following JMS resources are now available for injection:=
para>
+
+
+
+ javax.jms.Connection
+
+
+ javax.jms.Session
+
+
+
+ Destination-based resources:
+
+
+ javax.jms.Topic
+
+
+ javax.jms.Queue
+
+
+ javax.jms.TopicPublisher
+
+
+ javax.jms.QueueSender
+
+
+ javax.jms.TopicSubscriber
+
+
+ javax.jms.QueueReceiver
+
+
+ =
+
+
+
+ Destination Based Injection
+
+
+ The injection of resources that are themselves a java=
x.jms.Destination or require one needs
+ a hint: What destination do you want to work with? This is p=
rovided by the =
+ @JmsDestination annotatation.
+ =
+
+(a)Inject @JmsDestination(jndiName=3D"jms/MyTopic") Topic t;
+(a)Inject @JmsDestination(jndiName=3D"jms/MyQueue") Queue q;
+
+ =
+ =
+ You should create your own qualifier to provide type safe inje=
ction of predefined destinations:
+
+(a)Qualifier
+(a)JmsDestination(jndiName =3D "jms/MyTopic")
+public @interface MyTopic {}
+
+ =
+
+ You can then use it in place of the @JmsDestination qualifier anywhere it's required:
+
+
+(a)Inject @MyTopic TopicPublisher myPub;
+
+
+
+
+
+ Routing Events over JMS
+
+ TODO
+
Copied: modules/jms/trunk/docs/reference/src/main/docbook/en-US/installatio=
n.xml (from rev 12692, modules/jms/trunk/docs/reference/src/main/docbook/en=
-US/gettingstarted.xml)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/jms/trunk/docs/reference/src/main/docbook/en-US/installation.xm=
l (rev 0)
+++ modules/jms/trunk/docs/reference/src/main/docbook/en-US/installation.xm=
l 2010-05-07 04:54:44 UTC (rev 12695)
@@ -0,0 +1,48 @@
+
+
+
+
+
+ Installation
+
+
+ Most features of Seam JMS are installed automatically by
+ including the seam-jms.jar in your application's library folder.
+ If you are using
+ Maven
+
+ as your build tool use the following dependency:
+
+ =
+
+ org.jboss.seam
+ seam-jms
+ ${seam.jms.version}
+]]>
+
+
+ Define or replace the property ${seam.jms.version} with a vali=
d version of Seam JMS.
+
+
Modified: modules/jms/trunk/docs/reference/src/main/docbook/en-US/intro.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/jms/trunk/docs/reference/src/main/docbook/en-US/intro.xml 2010-=
05-07 03:50:12 UTC (rev 12694)
+++ modules/jms/trunk/docs/reference/src/main/docbook/en-US/intro.xml 2010-=
05-07 04:54:44 UTC (rev 12695)
@@ -36,9 +36,9 @@
Mission statement
=
- The missing of the JMS module for Seam 3 is to provide injection
- of JMS resources and the necessary scaffolding for CDI event
- propagation over JMS.
+ The JMS module for Seam 3 is to provide injection of JMS resources =
+ and the necessary scaffolding for a bidirectional propagation of =
+ CDI event over JMS.
=
@@ -47,7 +47,7 @@
=
The general goals can be divided into two categories: injection
- of JMS resources and forwarding of events:
+ of JMS resources and bridging of events:
=
@@ -70,12 +70,12 @@
=
- Forwarding of Events
+ Event Bridge
- Implicit - use a stereotype annotation when firing events
+ Egress: Routes CDI events to JMS destinations
- Explicit - events and qualifiers are registered explicitly
+ Ingress: Fires CDI events based on the reception of JMS messages
Modified: modules/jms/trunk/docs/reference/src/main/docbook/en-US/master.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/jms/trunk/docs/reference/src/main/docbook/en-US/master.xml 2010=
-05-07 03:50:12 UTC (rev 12694)
+++ modules/jms/trunk/docs/reference/src/main/docbook/en-US/master.xml 2010=
-05-07 04:54:44 UTC (rev 12695)
@@ -26,5 +26,6 @@
+
--===============0217643249961996160==--