[esb-issues] [JBoss JIRA] Work started: (JBESB-736) ReceiveJMSMessage class is confusing and partly buggy

Tom Cunningham (JIRA) jira-events at lists.jboss.org
Fri Oct 19 14:24:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBESB-736?page=all ]

Work on JBESB-736 started by Tom Cunningham.

> ReceiveJMSMessage class is confusing and partly buggy
> -----------------------------------------------------
>
>                 Key: JBESB-736
>                 URL: http://jira.jboss.com/jira/browse/JBESB-736
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Examples
>    Affects Versions: 4.2 Milestone Release 3
>            Reporter: Jiri Pechanec
>         Assigned To: Tom Cunningham
>            Priority: Optional
>             Fix For: 4.2.1
>
>
> The class used in samples for reading JMS messages from the queue is confusing and partly buggy. The class repeatedly reads from the queue directly and repeatedly sets up own listener. Also it creates an infinite number of sessions that are not closed.
> Recommended solution
> In method main cut the call of method receive one from the infinite loop and put it before the loop. Place a sleep method inside the infinite loop.
> In that way both direct reading and listener pattern will be demonstrated. Initialization of all resources will be executed only once.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list