[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-406) Removing cyclic reference between JMSBackendProcessor and JMSBackendProcessorFactory

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Apr 8 10:01:42 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36277#action_36277 ] 

Emmanuel Bernard commented on HSEARCH-406:
------------------------------------------

Hi Amin,
Have you tried the patch on a transactional JMS context?
I don't think it can work today as we are calling the JMS send from outside the transaction (ie afterTransaction) operation. We would need to handle the is transacted at a higher level and call the work before the (2PC) Tx commit (but after flush)

> Removing cyclic reference between JMSBackendProcessor and JMSBackendProcessorFactory
> ------------------------------------------------------------------------------------
>
>                 Key: HSEARCH-406
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-406
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 3.1.1.GA
>         Environment: Mac OS 10.6
>            Reporter: Amin Mohammed-Coleman
>            Priority: Minor
>         Attachments: JMS.patch
>
>
> The patch provided removes the cyclic reference between JMSBackendProcessor and JMSBackendProcessorFactory.  The patch also includes:
> 1) Validation in the initialize method of JMSBackendProcessorFactory to check whether connection factory and queue property is included
> 2) Created a JMSBackendProcessorParameter which encapsulates all the necessary info for JMSBackendProcessor
> 3) Updated JMSBackendProcessor to include transacted parameter

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

        


More information about the hibernate-issues mailing list