View Javadoc

1   /*
2    * $Id: JmsStreamMessageTestCase.java 11700 2008-05-08 11:16:01Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.issues;
12  
13  import org.mule.api.MuleException;
14  import org.mule.api.MuleMessage;
15  import org.mule.module.client.MuleClient;
16  import org.mule.tck.FunctionalTestCase;
17  
18  public class InOutOutOnlyMessageCopyMule3007TestCase extends FunctionalTestCase
19  {
20  
21      protected String getConfigResources()
22      {
23          return "org/mule/issues/inout-outonly-message-copy-mule3007-test.xml";
24      }
25  
26      public void testStreamMessage() throws MuleException
27      {
28          MuleClient client = new MuleClient(muleContext);
29          MuleMessage response = client.send("http://localhost:38900/services", "test", null);
30          assertNull(response.getExceptionPayload());
31      }
32      
33  }
34  
35