Ricardo Sawirjo wrote:
Hi,
I have read the OpenJMS documentation as you guys suggested and I have tried
the example with the Listener.
I am running the Listener on the same machine as where Hippo is running and
installed.
In the Listener.java I have added:
Hashtable properties = new Hashtable();
properties.put(Context.INITIAL_CONTEXT_FACTORY,
"org.exolab.jms.jndi.InitialContextFactory");
properties.put(Context.PROVIDER_URL, "tcp://localhost:3035/");
context = new InitialContext(properties);
I have build this and run this with the following cmd line:
"run Listener repository"
I have used "repository" as in the openjms.xml it is stated:
<AdministeredTopic name="repository"/>
The listener connects to 3035 and runs, however when I create/update/delete a
document in the CMS, NO message is received by the Listener.
Wouldn't you also need a topicconnectionfactory? The default should be
'TCPTopicConnectionFactory'
Regards,
--
Bartosz Oudekerk
.---------------------------------.-----------------------------------.
| Hippo B.V. | Hippo USA Inc. |
| Oosteinde 11 | 101 H Street, suite Q Petaluma CA |
| 1017 WT Amsterdam | 94952-3329 San Francisco |
| The Netherlands | United States |
| Tel +31 (0)20 5224466 | +1 (707) 773-4646 |
+---------------------------------+-----------------------------------+
| [EMAIL PROTECTED] | http://www.onehippo.com |
`---------------------------------^-----------------------------------'
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html