I'd like to connect to a SignalR-server in nifi. Is there any processor in nifi to connect to singalr and receive asynchronous notifications? If not, anyone has any suggestion?
Related
I've created an application using SignalR to send notifications to machines.
Now, if the machine is online, notification is being sent. But if machine is offline, it just gets dropped and won't be sent again.
I am wondering if Azure Service Bus can be used for this purpose wherein such notifications which are dropped from offline machines can be stored in Azure Service Bus and then later on when machine comes online then it will receive this notifications.
Is something like this possible? Or any other approach which can be used for this purpose?
Yes, service bus is one of the possible solutions as Service Bus is used to decouple applications and acts as messaging broker where if receiver application is done then still the sender application can send the message to the service bus. Once your receiver application is up now, they can start receiving the message. To learn more about service bus and its features you start with this document.
I am doing an IOT platform for my final year project at university, the concept is to link an IoT device with the Platform using WebSockets. My Websocket is working very well and I can send message from server to client.
But I don't know how to connect two clients to send messages to others via websocket server.
I can send message between website and server and also between my esp8266 and server.
how can I connect my arduino to the website?
Thank you
A WebSocket is basically a persistent connection between a client and
server.
In order for devices to talk with each other they first need to pass
by the server.
The server simply redirects the messages to the client that needs to
receive it.
Generally you'd have the WebSocket server in your backend.
Your frontend will be a WebSocket client.
Your device will be another WebSocket client.
Is it possible to send messages from the ROSbridge server to a connected client? I've connected an Android application using tcp, and able to send JSON messages from the app to the server. But is it possible to send messages in the other direction as well?
Thanks
as in the tutorials you create a websocket by starting rosbridge. You would have to consume that socket. Not sure if rosjava can consume that for your android app
As I went through the documentaion of signalr scaleout options having a backpane, i see the backpane job is to send the message from one server to all signalr servers. If so, if Server 1 wants to send message to particular client, the message goes to backpane and from there to all other servers(ex. server 2,3)..where the client 1 is connected with Server 1. So can we restrict this to send only from server1 to client 1. Also the other question, are the events like connected, reconnected also will be routed to backpane and to all other servers ?
thanks
If you are using a SignalR backplane, all messages will be sent to all servers. There is no way to configure a SignalR scaleout provider to only send messages to specific servers. It's all or nothing.
If you choose to forgo a backplane, you could of course configure SignalR to use its default in-memory message store and then manually send inter-server messages.
Events like connected/reconnected/disconnected do not involve publishing messages so no messages will be routed to all other servers.
I need to build service send/receive sms by asp.net. I find out some website or company provider that service. But it's not properly for my job. My problems are: how do i build my own service to do that? what i need to do? SMS gateway is a solution?
You may need the following.
Web service to allow other application to send their messages along
with the destination number. Which would put the message in database.
Windows application could be a windows service to get the messages
from database and send them using attached gsm modem. This
codeproject article gives you idea to start communication
with gsm modems using serial port.