diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2007-12-19 16:49:01 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2007-12-19 16:49:01 +0000 |
| commit | 66bf455a9ce9595c8139e2690799f397f0113178 (patch) | |
| tree | ccb3bbb26b69f29c8331af3a6254dfc0cf647d84 /qpid/java/client/example | |
| parent | 4f878b390ecbeb34c989f08489eddb5262077268 (diff) | |
| download | qpid-python-66bf455a9ce9595c8139e2690799f397f0113178.tar.gz | |
fixed speling issues and pubsub ones
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@605613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client/example')
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/common/BaseExample.java b/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/common/BaseExample.java index 4f22a5cb58..1eb207ada5 100644 --- a/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/common/BaseExample.java +++ b/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/common/BaseExample.java @@ -146,7 +146,7 @@ abstract public class BaseExample Hashtable<String, String> jndiEnvironment = new Hashtable<String, String>(); jndiEnvironment.put(Context.INITIAL_CONTEXT_FACTORY, INITIAL_CONTEXT_FACTORY_NAME); jndiEnvironment.put("connectionfactory.ConnectionFactory", - "qpid:password=guest;username=guest;client_id=clientid;virtualhost=test@tcp:192.168.1.11:5672"); + "qpid:password=guest;username=guest;client_id=clientid;virtualhost=test@tcp:127.0.0.1:5672"); if (getProviderURL() != null) { jndiEnvironment.put(Context.PROVIDER_URL, getProviderURL()); diff --git a/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Listener.java b/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Listener.java index e8c5b8a38c..223e7bffd2 100644 --- a/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Listener.java +++ b/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Listener.java @@ -95,7 +95,7 @@ public class Listener extends BaseExample // lookup the topics usa Topic topic = session.createTopic("usa.#"); // Create a Message Subscriber - System.out.println(CLASS + ": Creating a Message Subscriber fpr topic usa.#"); + System.out.println(CLASS + ": Creating a Message Subscriber for topic usa.#"); TopicSubscriber messageSubscriber = session.createSubscriber(topic); // Set a message listener on the messageConsumer messageSubscriber.setMessageListener(new MyMessageListener("usa")); |
