1   /*
2    * $Id: JmsRemoteSyncMule2868TestCase.java 11728 2008-05-13 07:31:11Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.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.providers.jms.issues;
12  
13  import org.mule.extras.client.MuleClient;
14  import org.mule.tck.FunctionalTestCase;
15  import org.mule.umo.UMOException;
16  import org.mule.umo.UMOMessage;
17  
18  public class JmsRemoteSyncMule2868TestCase extends FunctionalTestCase
19  {
20  
21      protected String getConfigResources()
22      {
23          return "jms-remote-sync-mule2868.xml";
24      }
25  
26      public void testMule2868() throws UMOException
27      {
28          MuleClient muleClient = new MuleClient();
29          UMOMessage response = muleClient.send("vm://in", "test", null);
30          assertEquals("test", response.getPayload());
31      }
32  
33  }