OW2 Consortium joram

Compare Revisions

Ignore whitespace Rev 6477 → Rev 6478

/trunk/joram/samples/src/joram/rest/Consumer.java
10,7 → 10,9
public class Consumer {
 
public static void main(String[] args) {
RestConsumer cons = new RestConsumer("http://localhost:8989/joram/", "queue");
String queueName = System.getProperty("queue");
 
RestConsumer cons = new RestConsumer("http://localhost:8989/joram/", queueName);
// cons.debug = true;
testJSonMessage(cons);
// testStringMessage(cons);
/trunk/joram/samples/src/joram/rest/Producer.java
5,7 → 5,9
public class Producer {
 
public static void main(String[] args) {
RestProducer prod = new RestProducer("http://localhost:8989/joram/", "queue");
String queueName = System.getProperty("queue");
RestProducer prod = new RestProducer("http://localhost:8989/joram/", queueName);
// prod.debug = true;
testJSonMessage(prod);
// testStringMessage(prod);