Author: antelder
Date: Thu Feb 21 05:48:00 2008
New Revision: 629781
URL: http://svn.apache.org/viewvc?rev=629781&view=rev
Log:
Simplify JMS sample even more
Modified:
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/README
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/hello.jsp
Modified: incubator/tuscany/java/sca/samples/helloworld-jms-webapp/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jms-webapp/README?rev=629781&r1=629780&r2=629781&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-jms-webapp/README (original)
+++ incubator/tuscany/java/sca/samples/helloworld-jms-webapp/README Thu Feb 21
05:48:00 2008
@@ -24,7 +24,7 @@
The sample requires JMS resources be manually configured in the server
environment, these are:
- a JMS connection factory named "ConnectionFactory"
-- a JMS queue named "RequestQueue"
+- a JMS queue named "HelloWorldService"
See the following for how to define these resources depending on the
application server being used:
@@ -62,7 +62,7 @@
For JMS Destination Type choose javax.jms.Queue and click Next
-Enter "RequestQueue" for both Message Destination Name and PhysicalName and
click Next
+Enter "HelloWorldService" for both Message Destination Name and PhysicalName
and click Next
Click Deploy Now
@@ -106,10 +106,10 @@
In the Queues panel click New, accept the defaults and click OK
-Enter "RequestQueue" for the Name and JNDI name and in the Bus name in the
Connection pane choose MyBus,
+Enter "HelloWorldService" for the Name and JNDI name and in the Bus name in
the Connection pane choose MyBus,
and then in the Queue name drop down list choose "Create SIB destination"
-In the Set queue attributes panel enter "RequestQueue" for the Identifier and
click Next, Next, and Finish
+In the Set queue attributes panel enter "HelloWorldService" for the Identifier
and click Next, Next, and Finish
That should take you back to the Queues panel where you can click OK to create
the new JMS queue.
Modified:
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite?rev=629781&r1=629780&r2=629781&view=diff
==============================================================================
---
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite
(original)
+++
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite
Thu Feb 21 05:48:00 2008
@@ -25,14 +25,14 @@
<component name="HelloWorldClient">
<implementation.java class="helloworld.HelloWorldClient"/>
<reference name="helloWorldService">
- <binding.jms uri="jms:RequestQueue"/>
+ <binding.jms uri="jms:HelloWorldService"/>
</reference>
</component>
<component name="HelloWorldServiceComponent">
<implementation.java class="helloworld.HelloWorldServiceImpl" />
<service name="HelloWorldService">
- <binding.jms uri="jms:RequestQueue"/>
+ <binding.jms />
</service>
</component>
Modified:
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/hello.jsp
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/hello.jsp?rev=629781&r1=629780&r2=629781&view=diff
==============================================================================
---
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/hello.jsp
(original)
+++
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/hello.jsp
Thu Feb 21 05:48:00 2008
@@ -37,7 +37,7 @@
If you do not see "Hello World" on the line above then there has been a
problem.
<p>
The sample requires JMS resources be manually configured in the server
environment, these are:
-a JMS connection factory named "ConnectionFactory", and a destination queues
named "RequestQueue".
+a JMS connection factory named "ConnectionFactory", and a destination queues
named "HelloWorldService".
See the sample README file for more information.
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]