Hi Ricardo and Bartosz,
I am looking into hippo JMS queue as well. Did you get any further with
your attempt?

I started with the openjms example as well, but I can't even get the
initial jndi context properly. It hangs infinitely at the new
InitialContext(properties). I start to think whether there is something
I didn't configure right in hippo repository.

Any suggestions?
Thanks,
Jun


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bartosz
Oudekerk
Sent: Wednesday, November 05, 2008 9:11 AM
To: Hippo CMS development public mailinglist
Subject: Re: [HippoCMS-dev] FW: JMS queue of Hippo

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


********************************************
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

Reply via email to