[jira] Commented: (OFBIZ-4000) JMSListener starts in two threads - receive JMS message twice

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-4000) JMSListener starts in two threads - receive JMS message twice

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969403#action_12969403 ]

Scott Gray commented on OFBIZ-4000:
-----------------------------------

Hi Sascha, I don't think we want a singleton here but instead we need one (and only one) instance per dispatcher.

> JMSListener starts in two threads - receive JMS message twice
> -------------------------------------------------------------
>
>                 Key: OFBIZ-4000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4000
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>            Reporter: Sascha Rodekamp
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4000_JmsListenerFactory.java.patch
>
>
> Hi,
> i noticed that the JMS Listener starts in two threads, the result is that ofbiz received every JMS message twice. Creating the object with singleton procedure should help.
> Have a nice day
> Sascha

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.