OW2 Consortium joram

Compare Revisions

Ignore whitespace Rev 6479 → Rev 6480

/trunk/joram/samples/src/joram/rest/RestProducer.java
31,8 → 31,7
 
RestProducer(String uri, String dest) {
URI base = UriBuilder.fromUri(uri).build();
ClientConfig config = new ClientConfig();
client = ClientBuilder.newClient(config);
client = ClientBuilder.newClient(new ClientConfig());
WebTarget target = client.target(base);
System.out.println("Use Rest/JMS interface: " + target.getUri());