from("mina2:tcp://localhost:" + port1 + "?textline=true&sync=false").to("mock:result");
from("mina2:tcp://localhost:" + port1 + "?textline=true&sync=false").to("mock:result");
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedBodiesReceived("Hello World");
template.sendBody("mina2:tcp://localhost:" + port1 + "?textline=true&sync=false", "Hello World");
assertMockEndpointsSatisfied();
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedBodiesReceived("Hello World");
template.sendBody("mina2:tcp://localhost:" + port1 + "?textline=true&sync=false", "Hello World");
assertMockEndpointsSatisfied();
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow