1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.transport.jms; |
8 | |
|
9 | |
import org.mule.api.MuleContext; |
10 | |
import org.mule.api.transaction.Transaction; |
11 | |
import org.mule.api.transaction.TransactionException; |
12 | |
import org.mule.api.transaction.TransactionFactory; |
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | 0 | public class JmsClientAcknowledgeTransactionFactory implements TransactionFactory |
20 | |
{ |
21 | |
public Transaction beginTransaction(MuleContext muleContext) throws TransactionException |
22 | |
{ |
23 | 0 | JmsClientAcknowledgeTransaction tx = new JmsClientAcknowledgeTransaction(muleContext); |
24 | 0 | tx.begin(); |
25 | 0 | return tx; |
26 | |
} |
27 | |
|
28 | |
public boolean isTransacted() |
29 | |
{ |
30 | 0 | return false; |
31 | |
} |
32 | |
} |