currently, i am reading messages from oracle database table and publishing messages locally and processing it to applications.
instead of publishing locally planning to use terracota server so that both of nodes independently pick up messages and process in a cluster mode.
now , instead of publishing message it can be published to UM. but, can i publish to IBM MQ since my organization already has IBM MQ. hence,thinking to avoid licensing of UM. pls let me know your thoughts if this works. thank you in advance.
Terracotta cluster is not involved with messaging. It is not Terracotta that enables 2+ nodes to process messages from a topic/durable subscriber. It is the fact that 2+ nodes connect to the messaging provider to the same topic using whatever approach the provider requires to allow multiple clients to connect to a single topic. For MQ, you may need to use it as a JMS provider to achieve a âmessaging client clusterâ where a message is processed by just one of the nodes and not all.
I would strongly encourage reviewing the IS clustering documentation. Over the years, many people have made assumptions about what IS clustering provides. It is good for what it does â support shared data for the nodes in the cluster (think âsession varsâ) and not much else. The document does a good job of describing a lot of considerations about clustering in general. But it tends to lead people to think it does more than it really does.
@Kumar_Sen what is your actual use case? Your post indicates JDBC, Terracotta, MQ, UM etc., Try not to complicate using multiple products.
From messaging perspective, if your use case is pub/sub, or point-to-point, you can continue to use existing IBM MQ product that you have, and there is absolutely no need to get into UM
MQ messaging (IBM MQ series) can be used in either ways
point to point messaging
pub / sub messaging
Create corresponding MQ topics and subscriptions (IBM Documentation)
Terracotta if you have caching use case - Local cache, distributed cache, cache related to IS cluster
You wrote, reading from oracle database table. Iâll assume this as âselect adapterâ and not âjdbc notificationâ. Select from JDBC and publish to MQ topic if this data is required by multiple subscribers, or send to queue if this data is needed by a specific receiver.