1
2
3
4
5
6
7
8
9
10
11 package org.mule.transport.jms.integration;
12
13 import org.mule.api.MuleException;
14 import org.mule.api.MuleMessage;
15 import org.mule.module.client.MuleClient;
16
17 import org.junit.Test;
18
19 public class JmsRemoteSyncMule2868TestCase extends AbstractJmsFunctionalTestCase
20 {
21
22 protected String getConfigResources()
23 {
24 return "integration/jms-remote-sync-mule2868.xml";
25 }
26
27 @Test
28 public void testMule2868() throws MuleException
29 {
30 MuleClient muleClient = new MuleClient(muleContext);
31 MuleMessage response = muleClient.send("vm://in", "test", null);
32 assertEquals("test Received", response.getPayload());
33 }
34
35 }