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

Kurt Stam (JIRA) jira-events at lists.jboss.org
Tue Oct 23 13:54:06 EDT 2007


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

Kurt Stam closed JBESB-736.
---------------------------

    Resolution: Done

Fixed, but opened JBESB-1238

> 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: Kurt Stam
>            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