1 17 package org.apache.servicemix.jbi.messaging; 18 19 import org.apache.servicemix.jbi.nmr.flow.Flow; 20 import org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow; 21 22 25 public class JmsFlowTransactionTest extends AbstractTransactionTest { 26 27 protected Flow createFlow() { 28 return new JMSFlow(); 29 } 30 31 public void testSyncSendSyncReceive() throws Exception { 32 try { 33 super.testSyncSendSyncReceive(); 34 fail("JMS flow does not handle transactions"); 35 } catch (Exception e) { 36 } 38 } 39 40 public void testSyncSendAsyncReceive() throws Exception { 41 try { 42 super.testSyncSendAsyncReceive(); 43 fail("JMS flow does not handle transactions"); 44 } catch (Exception e) { 45 } 47 } 48 49 public void testAsyncSendAsyncReceive() throws Exception { 50 try { 51 super.testAsyncSendAsyncReceive(); 52 fail("JMS flow does not handle transactions"); 53 } catch (Exception e) { 54 } 56 } 57 58 public void testAsyncSendSyncReceive() throws Exception { 59 try { 60 super.testAsyncSendSyncReceive(); 61 fail("JMS flow does not handle transactions"); 62 } catch (Exception e) { 63 } 65 } 66 67 } 68 | Popular Tags |