You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marek Šabo <ms...@buk.cvut.cz> on 2010/03/29 02:32:56 UTC
Wickit & JMS
Hi all,
I would like to ask if anyone ever tried asynchronous messaging systems
like JMS with Wicket. I will be implementing some modules which will do
some work on configuration files and then return. Is there a way to get
these events to wicket asynchronously and then probably contact user via
ajax about it?
TIA,
--
Marek Šabo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket & JMS
Posted by Marek Šabo <ms...@buk.cvut.cz>.
On 03/29/2010 12:48 PM, Uwe Schäfer wrote:
> just for the record: we´re using hornetq (used to be activemq) with
> guice without being tied to the requestcycle.
>
Hi,
I'm using guice as well, could you probably post some example or at
least hint on what to inject and how to receive message
in wicket?
TIA,
--
Marek Šabo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket & JMS
Posted by Uwe Schäfer <sc...@thomas-daily.de>.
Marek Šabo schrieb:
> ...and then I would need some logic to read queue (here is where my
> understanding of broker api runs out) during those AjaxUpdates.
just for the record: we´re using hornetq (used to be activemq) with
guice without being tied to the requestcycle.
cu uwe
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket & JMS
Posted by Marek Šabo <ms...@buk.cvut.cz>.
Hi Jeremy,
thanks for reply, I realized AJAX feedback wouldn't be that much of a
hassle but integrating Spring in nearly completed project may be. Is
there a way to integrate amq & wicket without going through Spring? Maybe:
<filter>
<filter-name>session</filter-name>
<filter-class>org.apache.activemq.web.SessionFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>session</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
...and then I would need some logic to read queue (here is where my
understanding of broker api runs out) during those AjaxUpdates.
Regards,
--
Marek Šabo
On 03/29/2010 06:39 AM, Jeremy Thomerson wrote:
> I have used ActiveMQ (and the Spring integration(s)) extensively with
> Wicket. But I have not really provided AJAX feedback associated with it.
> This would be fairly easy to do. Just have an AJAX timer that polls a
> middle-tier service to get the status of the pending changes / work /
> etc....
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Sun, Mar 28, 2010 at 7:32 PM, Marek Šabo <ms...@buk.cvut.cz> wrote:
>
>
>> Hi all,
>>
>> I would like to ask if anyone ever tried asynchronous messaging systems
>> like JMS with Wicket. I will be implementing some modules which will do
>> some work on configuration files and then return. Is there a way to get
>> these events to wicket asynchronously and then probably contact user via
>> ajax about it?
>>
>> TIA,
>>
>>
>> --
>> Marek Šabo
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wickit & JMS
Posted by Jeremy Thomerson <je...@wickettraining.com>.
I have used ActiveMQ (and the Spring integration(s)) extensively with
Wicket. But I have not really provided AJAX feedback associated with it.
This would be fairly easy to do. Just have an AJAX timer that polls a
middle-tier service to get the status of the pending changes / work /
etc....
--
Jeremy Thomerson
http://www.wickettraining.com
On Sun, Mar 28, 2010 at 7:32 PM, Marek Šabo <ms...@buk.cvut.cz> wrote:
> Hi all,
>
> I would like to ask if anyone ever tried asynchronous messaging systems
> like JMS with Wicket. I will be implementing some modules which will do
> some work on configuration files and then return. Is there a way to get
> these events to wicket asynchronously and then probably contact user via
> ajax about it?
>
> TIA,
>
>
> --
> Marek Šabo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>