[
https://issues.jboss.org/browse/SEAMJMS-36?page=com.atlassian.jira.plugin...
]
John Ament commented on SEAMJMS-36:
-----------------------------------
The status watcher example has a number of issues. Support for durable messages is not
what should have been tracked within it - as I've noted previously, it makes more
sense to just publish new messages incoming to a client.
I will look at the code and rewrite what is needed, but it was originally created by QE.
jms-statuswatcher example broken
--------------------------------
Key: SEAMJMS-36
URL:
https://issues.jboss.org/browse/SEAMJMS-36
Project: Seam JMS
Issue Type: Bug
Affects Versions: 3.0.0.Beta2
Reporter: Jozef Hartinger
Priority: Blocker
Fix For: 3.0.0.CR1
Firstly, the ReceivingClient class needs to be updated to follow recent API changes:
@Durable qualifier needs to be added to the following injection point definition:
@Inject @Durable
private DurableMessageManager dmm;
Without this change, the example fails to deploy with UnsatisfiedResolutionException.
Even with this change, the example does not work as expected:
1.) Deploy the application
2.) Open
http://localhost:8080/jms-statuswatcher/watchstatus.jsf
3.) Check "Follow all"
4.) Open
http://localhost:8080/jms-statuswatcher/sendstatus.jsf and send a status
The status is never displayed on the watchstatus page. Using the "history" link
does not help and clicking "receive" causes an exception since the
ReceivingClient.receive() method is commented out for some reason
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira