ConnectionTimeout

This commit is contained in:
danieleteti 2016-09-26 17:42:02 +02:00
parent ffd7d355cc
commit b18a53b840

View File

@ -121,6 +121,7 @@ type
class function Subscription(const SubscriptionName: string): TKeyValue; class function Subscription(const SubscriptionName: string): TKeyValue;
class function Persistent(const Value: Boolean): TKeyValue; class function Persistent(const Value: Boolean): TKeyValue;
class function Durable(const Value: Boolean): TKeyValue;
class function ReplyTo(const DestinationName: string): TKeyValue; class function ReplyTo(const DestinationName: string): TKeyValue;
/// /////////////////////////////////////////////7 /// /////////////////////////////////////////////7
@ -485,6 +486,12 @@ begin
inherited; inherited;
end; end;
class function TStompHeaders.Durable(const Value: Boolean): TKeyValue;
begin
Result.Key := 'durable';
Result.Value := LowerCase(BoolToStr(Value, true));
end;
function TStompHeaders.GetAt(const index: Integer): TKeyValue; function TStompHeaders.GetAt(const index: Integer): TKeyValue;
begin begin
Result := GetItems(index) Result := GetItems(index)