Skip to content

Commit

Permalink
Merge pull request #511 from advantageous/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
RichardHightower committed Oct 29, 2015
2 parents 30dc28a + 19c6618 commit 0459f30
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void helloJSend7(Callback<JSendResponse<List<String>>> callback) {

public static void main(final String... args) {
final ManagedServiceBuilder managedServiceBuilder =
ManagedServiceBuilder.managedServiceBuilder().setRootURI("/root");
ManagedServiceBuilder.managedServiceBuilder().setRootURI("/");

/* Start the service. */
managedServiceBuilder.addEndpointService(new HelloWorldJSend())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ public class EchoClientMain {
public static void main(final String... args) throws Exception {

final ClientBuilder clientBuilder = ClientBuilder.clientBuilder();
final Client client = clientBuilder.setHost("localhost").setPort(8080).setUri("/echo").build().startClient();
final Client client = clientBuilder.setHost("localhost")
.setPort(8080).setUri("/echo")
.build().startClient();

final EchoAsync echoClient = client.createProxy(EchoAsync.class, "echo");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class JmsServiceBuilder {

/** Pattern to create JNDI URL connect string from host and port. Default works with ActiveMQ.
* Replaces #host# with host and #port# with port. */
private String providerURLPattern = "tcp://#host#:#port#";
private String providerURLPattern = "failover:tcp://#host#:#port#";

/** Provider URL to JMS Broker which if not set will be constructed based on host, port and providerURLPattern. */
private String providerURL =null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ public void testPutWithConfirmationWrapped() throws Exception{



todoKVStore.putWithConfirmation(putCallbackBuilder.build(), "testPutWithConfirmationWrapped", new Todo(value));
todoKVStore.putWithConfirmation(putCallbackBuilder.build(),
"testPutWithConfirmationWrapped", new Todo(value));

ServiceProxyUtils.flushServiceProxy(todoKVStore);

putLatch.await(3, TimeUnit.SECONDS);
Expand Down

0 comments on commit 0459f30

Please sign in to comment.