Connecting to websphere MQ using ruby - ruby-on-rails

I need to push a message to MQ from ruby code. The only gem I see is WMQ and I don't think that works on OSX systems (mine is a remote MQ)
What are options I have? I can't find any details on this online

It would be far easier to use Java on Mac OS X rather than Ruby. But if you want to stick with Ruby then your only option is to use MQ Light to communicate with an MQ Server via AMQP protocol.
Note: AMQP protocol was introduced in MQ v8.0.0.4.

Related

What is the url for http telemetry, in the Thingsboard micro service architecture?

I am implementing a system using thingsboard msa (micro service architecture) to achieve high availability and fault tolerance. But I cannot pass telemetry data to the http transport layer.
I am using the released version on thingsboard github https://github.com/thingsboard/thingsboard/tree/master/docker
I tried using HAproxy ip but it doesn't seem to work. Anyone know which ip and port i should use?
RESOLVED
this version: https://github.com/thingsboard/thingsboard/tree/master/docker not have the transport configurations and logback.xml.

Run gRPC server on iOS

Is it possible to run a gRPC server on iOS?
Let’s say we want to use the gRPC framework to define APIs etc. And now we want to deploy a gRPC server in the same process with the application using it — connection via an InprocessChannel.
Is there a gRPC port for iOS that allows to do that?
Yes, unlike with the Objective-C bindings for gRPC, it's possible to run a gRPC server on iOS using Swift GRPC:
APIs and generated code is provided for both gRPC clients and servers,
and can be built either with Xcode or the Swift Package Manager.
Support is provided for all four gRPC API styles (Unary, Server
Streaming, Client Streaming, and Bidirectional Streaming) and
connections can be made either over secure (TLS) or insecure channels.
The Echo example contains a Mac app that demonstrates both server and client code. The Swift gRPC parts should be similar in an iOS app.
It is not officially supported by gRPC, but you have a couple of options to do this on your own:
You can wrap gRPC C++ and use their server feature. Someone tried this before and seems worked.
You can use the gRPC Swift repo which has gRPC server feature on iOS client.

Which message queue tools are recommended for using in a JRuby on Rails app using Trinidad?

I'm a long time Torquebox user, but now I want to try using Trinidad for JRuby on Rails deployment. One of the best things of using Trinidad instead of Torquebox is that you may use Heroku :)
But Torquebox has a message queue feature using JMS and Trinidad doesn't have any MQ feature out-of-the-box. Anyone can recommend a MQ tool from JRuby on rails using Trinidad?
Since you are using Heroku, I would select a hosted message broker listed in the Heroku add-ons area. If you decide to host your own, you could install ActiveMQ or another broker onto one or more EC2 instances and set the security group to allow connections from Heroku's EC2 instances. Whatever method you choose, the next step is to simply configure your JRuby on Rails app to connect to the broker and publish/subscribe as desired.

Does FUSE ESB support RabbitMQ?

I am making one rails application which is integreted with RabbiMQ.
I want to integrate Fuse ESB in my application, but still after google I am not confirmed that RabbitMQ supports to Fuse ESB or not.
Can anybody tell me that RabbitMQ supports Fuse ESB or not?
FUSE ESB contains a messaging infrastructure based on the JMS technology of Apache ActiveMQ. ActiveMQ is not interoperable out-of-the-box with AMQP systems like RabbitMQ.
However, Apache Camel (also part of FUSE) supports AMQP via the client API of the Apache Qpid project. Since both Qpid and RabbitMQ implement the AMQP messaging standard, you may be able to communicate with a RabbitMQ broker from a Qpid client. There are some potential issues and solutions associated with this approach outlined here.

How to run a win32 native application that requires sql server native client on MacOSX with winebottler?

I am experimenting with WineBottler and I would like to try to run my win32 native application written in Delphi on OSX.
The application runs, but I stop at login screen since I cannot connect to SQL Server.
Does anyonw know how to install and configure SQL Server native client on OSX so that it is usable with WineBottler?
Note: I put "wine" as tag since "winebottler" is not available.
I have a Delphi application that uses MDAC 2.8 for ADO connection to the Jet provider. I use Winetricks to install MDAC 2.8, and it works great. If you can't get SQL Server Native Client to install, perhaps your application can use the OLEDB SQL Server provider by tweaking your connection strings. Are you using any features that are only in SQL Server Native Client?
You would have a lot less trouble if you put in some middleware like kbmMW, Remote Objects, or DataSnap. All of them can use plain TCP/IP (via http or like higher level protocol), and don't require client side libs. You will need an extra server, but it is easy to create one that just forwards your SQL and data between clients and SQL server. Note that SQL server licensing remains.
On the other hand, you can try to install SQL Server native client, some older version of it - eg. for SQL Server 2005, in that "bottle" with your application. Yet, I'm not sure if that is legal thing to do. I think that MS prohibits native client installation on OS other than Windows.
There is FreeTDS native client that works with MSSQL from unices, but it is not ported to be usable from Delphi (like dbx driver).

Resources