1. Rodney Nevile da Silva
  2. PowerBuilder
  3. Wednesday, 27 November 2019 16:25 PM UTC

Hi Guys

Have RabbitMQ  support with powerbuilder 2019??

 

How solution is better?

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 27 November 2019 17:00 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rodney,

I don't have fist-hand experience with RabbitMQ, but their tutorials show example for C#/.NET Core https://www.rabbitmq.com/getstarted.html and they provide a .NET Core client https://www.rabbitmq.com/dotnet.html Therefore, this should work fine with PowerBuilder 2019's C# Web API projects.

If you want to stay with client/server architecture instead of n-tier/cloud architecture, then theoretically you could integrate RabbitMQ by creating a COM wrapper for their C/C++ clients and integrating that int your client app.  Here is an open-source C language client: https://github.com/alanxz/rabbitmq-c

However, if you go with a message broker like RabbitMQ, I think architecturally speaking it makes more sense to do this with C# Web API project of PowerBuilder 2019 so more business logic is on the server side. You would then invoke the C# Web API you have created with PowerBuilder from your PowerScript app using the new RESTClient or HTTPClient objects.

As far as alternatives to RabbitMQ, I would recommend doing some Google research.  One thing to note is that there are newer generation message brokers than RabbitMQ, and these days Amazon, Azure, etc. all provide their own implementations as well.  Here is an article I found that may be useful to you: https://www.upsolver.com/blog/kafka-versus-rabbitmq-architecture-performance-use-case

Regards,
Armeen

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 27 November 2019 17:25 PM UTC
Theoretically yes, but again we haven't tested so can't say for sure until somebody tries and reports back.
  1. Helpful
  1. Roland Smith
  2. Wednesday, 27 November 2019 20:13 PM UTC
A non .Net C or C++ interface could be turned into a PBNI non-visual extension easier than a COM object.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 27 November 2019 20:16 PM UTC
Thanks for the tip Roland! Anyway, hope anybody considering using this would go the C# route.
  1. Helpful
There are no comments made yet.
Rodney Nevile da Silva Accepted Answer Pending Moderation
  1. Wednesday, 27 November 2019 17:14 PM UTC
  2. PowerBuilder
  3. # 2

Thanks!

I will to try

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.