掲示板

Message Bus usage in clustered environment

15年前 に Charanjeet singh Hora によって更新されました。

Message Bus usage in clustered environment

New Member 投稿: 24 参加年月日: 09/01/20 最新の投稿
Hi All,

I read about Message Bus capabilities of liferay on Wiki http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Message+Bus.

It says that
The current implementation doesn't allow to send remote messages.


My question is can we use message bus in clustered environment and if yes then how we can use it?

Please reply me asap.

Thanks
11年前 に Sneha Shah によって更新されました。

RE: Message Bus usage in clustered environment

New Member 投稿: 4 参加年月日: 12/10/02 最新の投稿
Please let me know if there is update on this. Can we use message bus in a clustered environment in liferay 6.0?
thumbnail
11年前 に David H Nebinger によって更新されました。

RE: Message Bus usage in clustered environment

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Not that I know of.

However it would be an easy matter of using JMS to join your clustered environments:

  • Set up ActiveMQ on all instances.
  • Add a message bus listener to get messages from the LMB and publish via JMS.
  • Create a JMS listener to receive these messages and publish back to the LMB.
thumbnail
11年前 に Amos Fong によって更新されました。

RE: Message Bus usage in clustered environment

Liferay Legend 投稿: 2047 参加年月日: 08/10/07 最新の投稿
It should be possible. LiveUsers uses the message bus to send message to all the nodes. See messaging-misc-spring.xml to see how it's wired up.

I think what you do is register a ClusterBridgeMessageListener along with your own MessageListener to a destination and the ClusterBridge will broadcast the message to all the other nodes.