STOMP con RabbitMQ
Conecta tus aplicaciones Delphi a RabbitMQ mediante STOMP sobre WebSocket. Publica mensajes, suscríbete a colas e intégrate con infraestructura de mensajería empresarial.
Conecta tus aplicaciones Delphi a RabbitMQ mediante STOMP sobre WebSocket. Publica mensajes, suscríbete a colas e intégrate con infraestructura de mensajería empresarial.
Cliente STOMP 1.0 / 1.1 / 1.2 ajustado para el plugin Web-STOMP de RabbitMQ. Topics, colas, colas declaradas externamente, colas de respuesta temporales y transacciones.
TsgcWSPClient_STOMP_RabbitMQ
STOMP 1.2 mediante Web-STOMP de RabbitMQ
Windows, macOS, Linux, iOS, Android
Professional / Enterprise
Empareja con un TsgcWebSocketClient, configura Authentication y un virtual host en Options, suscríbete a destinos /topic/ /queue/ /amq/queue/ o /temp-queue/.
uses
sgcWebSocket, sgcWebSocket_Protocol_STOMP_RabbitMQ_Client;
var
WSClient: TsgcWebSocketClient;
STOMP: TsgcWSPClient_STOMP_RabbitMQ;
begin
WSClient := TsgcWebSocketClient.Create(nil);
WSClient.Host := 'rabbit.example.com';
WSClient.Port := 15674;
WSClient.Options.Parameters := '/ws';
STOMP := TsgcWSPClient_STOMP_RabbitMQ.Create(nil);
STOMP.Client := WSClient;
STOMP.Authentication.Enabled := True;
STOMP.Authentication.UserName := 'guest';
STOMP.Authentication.Password := 'guest';
STOMP.OnSTOMPConnected := STOMPConnected;
STOMP.OnSTOMPMessage := STOMPMessage;
WSClient.Active := True;
end;
8 propiedades published, 25 métodos, 6 eventos — extraídos de la referencia del componente.
Propiedades published: Client, Broker, Versions.
Eventos: OnRabbitMQMessage, OnRabbitMQReceipt.
Propiedades published: HeartBeat.
Propiedades published: Authentication.
Eventos: OnRabbitMQConnected, OnRabbitMQDisconnected, OnRabbitMQError.
Métodos: WriteData.
Fuentes autorizadas de los protocolos que implementa este componente.
Enlace directo a la referencia del componente, descarga el proyecto demo listo para ejecutar y la prueba gratuita.
| Proyecto demo — Demos\Protocols\STOMP\RabbitMQ Proyecto de ejemplo listo para ejecutar. Se incluye en el paquete sgcWebSockets — descarga la prueba gratuita más abajo. | Abrir | |
| Documento técnico (PDF) Características, inicio rápido, ejemplos de código para Delphi y C++ Builder y referencias de fuentes primarias — solo este componente. | Abrir | |
| Manual de usuario (PDF) Manual completo que cubre todos los componentes de la biblioteca. | Abrir |