You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/07/23 07:40:38 UTC

[jira] [Commented] (BATCHEE-47) Fail to create buffer in TransactionalWriter

    [ https://issues.apache.org/jira/browse/BATCHEE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071389#comment-14071389 ] 

Romain Manni-Bucau commented on BATCHEE-47:
-------------------------------------------

Hi

which SynchronizationService do you use? (you can surely debug org.apache.batchee.extras.transaction.integration.Synchronizations static block, I'll add a log for it)

If TransactionSynchronizationRegistry is not found then you'll always get null but Transactional* will not work.

I suspect the issue is tighly coupled with WAS

> Fail to create buffer in TransactionalWriter
> --------------------------------------------
>
>                 Key: BATCHEE-47
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-47
>             Project: BatchEE
>          Issue Type: Bug
>          Components: batchee-extensions
>         Environment: Any
>            Reporter: Michael Edgar
>
> Method buffer() in class org.apache.batchee.extras.transaction#TransactionalWriter appears to always return a null buffer. After the initial assignment of buffer at the start of the method, should the first condition check for a null buffer rather than a non-null buffer?



--
This message was sent by Atlassian JIRA
(v6.2#6252)