We have a requirement where we wish to run broker and subscriber in same process.
Sould we try to tweak broker source, create a shared libraray and link with subscriber process?
Woult it work ? Any chances of conflict or run time issues ?
What other approaches you can suggest to run broker and subscriber in same process?
What do you actually want to achieve with the subscriber? You could potentially create a broker plugin that uses the “message in” event to consume the messages you are interested in.
Cheers,
Roger
We are trying to create a multithreaded application, in which one thread will launch broker and other threads will launch publisher and subscriber.
There will other pub-sub processes as well on Linux box.
So we tried to tweak broker source, create a shared library and link with subscriber process. But at run time things did not work. are there any predeclared constraints while trying to run broker and client in same process ?