mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
Adapted to the single file for StompClient
This commit is contained in:
parent
503869635e
commit
aadceee80f
@ -36,8 +36,7 @@ uses
|
||||
MVCFramework.Commons,
|
||||
MVCFramework.Logger,
|
||||
MVCFramework.TypesAliases,
|
||||
StompClient,
|
||||
StompTypes;
|
||||
StompClient;
|
||||
|
||||
type
|
||||
|
||||
|
@ -69,10 +69,9 @@ uses
|
||||
Web.Win.IsapiHTTP,
|
||||
Web.WebReq,
|
||||
LoggerPro,
|
||||
StompTypes,
|
||||
IdGlobal,
|
||||
IdGlobalProtocols,
|
||||
IdURI;
|
||||
IdURI, StompClient;
|
||||
|
||||
type
|
||||
|
||||
@ -2186,7 +2185,7 @@ begin
|
||||
begin
|
||||
try
|
||||
Stomp := GetNewStompClient(GetClientId);
|
||||
Headers := StompUtils.NewHeaders.Add(TStompHeaders.NewPersistentHeader(True));
|
||||
Headers := StompUtils.NewHeaders.Add(StompUtils.NewPersistentHeader(True));
|
||||
Stomp.Send(AMessage.SmTopic, Serializer(AContentType).SerializeObject(AMessage));
|
||||
TThread.Sleep(100);
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user