You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by 真实的力量 <pe...@qq.com> on 2013/01/03 04:11:13 UTC

回复: MQ Ajax

public static void contributeIgnoredPathsFilter(Configuration<String> configuration)
{
      configuration.add("/amq/.*");
}

I add code to my AppModule ,it does'nt work ?





------------------ 原始邮件 ------------------
发件人: "Taha Siddiqi"<ta...@gmail.com>;
发送时间: 2012年12月31日(星期一) 中午1:25
收件人: "Tapestry users"<us...@tapestry.apache.org>; 

主题: Re: MQ Ajax




Try this.

http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgnoredPaths


On Dec 31, 2012, at 8:43 AM, 真实的力量 wrote:

> I want add "Instant Messaging" function to my app, 
> I choose ActiveMQ as server side , I see ActiveMQ char example work well ,activeM-Ajax-Example
> But , I add to my tapestry , the client send msg url is  blow:
> http://localhost:10086/MyComponent/amq?timeout=1&d=1356923461452&r=0.3421143263725408&clientId=1356923461452
> 
> 
> and this url is filtered by "org.apache.tapestry5.spring.TapestrySpringFilter", 
> 
> 
> my question is : how can I config the filter to jump TapestrySpringFilter?

Re: 回复: MQ Ajax

Posted by Lance Java <la...@googlemail.com>.
You have told tapestry to ignore "/amq/.*" but from your example below, the
url is "/MyComponent/amq"



--
View this message in context: http://tapestry.1045711.n5.nabble.com/MQ-Ajax-tp5719106p5719108.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org