1   /*
2    * $Id: JmsRemoteSyncMule2868TestCase.java 10789 2008-02-12 20:04:43Z dfeist $
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.transport.jms.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 JmsRemoteSyncMule2868TestCase extends FunctionalTestCase
19  {
20  
21      protected String getConfigResources()
22      {
23          return "jms-remote-sync-mule2868.xml";
24      }
25  
26      public void testMule2868() throws MuleException
27      {
28          MuleClient muleClient = new MuleClient();
29          MuleMessage response = muleClient.send("vm://in", "test", null);
30          assertEquals("test", response.getPayload());
31      }
32  
33  }