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.st.STFlow; 21 22 25 public class StFlowTransactionTest extends AbstractTransactionTest { 26 27 protected Flow createFlow() { 28 return new STFlow(); 29 } 30 31 public void testAsyncSendSyncReceive() throws Exception { 32 try { 33 super.testAsyncSendSyncReceive(); 34 fail("ST flow does not handle asynchronous transactional exchanges"); 35 } catch (Exception e) { 36 } 38 } 39 40 public void testAsyncSendAsyncReceive() throws Exception { 41 try { 42 super.testAsyncSendAsyncReceive(); 43 fail("ST flow does not handle asynchronous transactional exchanges"); 44 } catch (Exception e) { 45 } 47 } 48 49 public void testSyncSendAsyncReceive() throws Exception { 50 try { 51 super.testSyncSendAsyncReceive(); 52 fail("ST flow does not handle synchronous transactional exchanges"); 53 } catch (Exception e) { 54 } 56 } 57 58 public void testSyncSendSyncReceive() throws Exception { 59 try { 60 super.testSyncSendSyncReceive(); 61 fail("ST flow does not handle synchronous transactional exchanges"); 62 } catch (Exception e) { 63 } 65 } 66 } 67 | Popular Tags |