You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by wupeizhuang <wu...@huawei.com> on 2012/12/08 03:50:43 UTC

How an client use server time to receive message?

Client time is faster than the server.And the message has been setted
JMSExpiration value.So client always cann't receive the message.How can I
resovle this problem?



--
View this message in context: http://activemq.2283324.n4.nabble.com/How-an-client-use-server-time-to-receive-message-tp4660386.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply:How an client use server time to receive message?

Posted by SuoNayi <su...@163.com>.
Hi, you may try to add the plugin 'TimeStampingBrokerPlugin' to your broker as the following,
<plugins>
        <timeStampingBrokerPlugin futureOnly="true"/>
</plugins>
and you can find more detail about this plugin here,
http://activemq.apache.org/timestampplugin.html



At 2012-12-08 10:50:43,wupeizhuang <wu...@huawei.com> wrote:
>Client time is faster than the server.And the message has been setted
>JMSExpiration value.So client always cann't receive the message.How can I
>resovle this problem?
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/How-an-client-use-server-time-to-receive-message-tp4660386.html
>Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: How an client use server time to receive message?

Posted by Jason Sherman <js...@gmail.com>.
Hi,

Other than syncing the clocks on the two systems you can use the broker
TimeStampPlugin [1].

[1] http://activemq.apache.org/timestampplugin.html

Regards,
Jason
On Dec 8, 2012 9:29 AM, "wupeizhuang" <wu...@huawei.com> wrote:

> Client time is faster than the server.And the message has been setted
> JMSExpiration value.So client always cann't receive the message.How can I
> resovle this problem?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-an-client-use-server-time-to-receive-message-tp4660386.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>