2012-12-27 23:32:04 +01:00
|
|
|
object ReceiverMainForm: TReceiverMainForm
|
|
|
|
Left = 0
|
|
|
|
Top = 0
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = 'Receiver Message'
|
2016-08-02 18:15:11 +02:00
|
|
|
ClientHeight = 460
|
|
|
|
ClientWidth = 477
|
2012-12-27 23:32:04 +01:00
|
|
|
Color = clBtnFace
|
|
|
|
Font.Charset = DEFAULT_CHARSET
|
|
|
|
Font.Color = clWindowText
|
|
|
|
Font.Height = -11
|
|
|
|
Font.Name = 'Tahoma'
|
|
|
|
Font.Style = []
|
|
|
|
OldCreateOrder = False
|
|
|
|
OnCreate = FormCreate
|
|
|
|
OnDestroy = FormDestroy
|
2016-08-02 18:15:11 +02:00
|
|
|
DesignSize = (
|
|
|
|
477
|
|
|
|
460)
|
2012-12-27 23:32:04 +01:00
|
|
|
PixelsPerInch = 96
|
|
|
|
TextHeight = 13
|
|
|
|
object Label1: TLabel
|
|
|
|
Left = 8
|
|
|
|
Top = 66
|
2016-08-02 18:15:11 +02:00
|
|
|
Width = 181
|
2012-12-27 23:32:04 +01:00
|
|
|
Height = 13
|
2016-08-02 18:15:11 +02:00
|
|
|
Caption = 'Message sent from the STOMP broker'
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object Label2: TLabel
|
|
|
|
Left = 8
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 342
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 62
|
|
|
|
Height = 13
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = 'Queue Name'
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 337
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object Label3: TLabel
|
|
|
|
Left = 8
|
|
|
|
Top = 8
|
2016-08-02 18:15:11 +02:00
|
|
|
Width = 449
|
2012-12-27 23:32:04 +01:00
|
|
|
Height = 52
|
|
|
|
Caption =
|
|
|
|
'This example show how subscribe a queue and after you receive a ' +
|
|
|
|
'message from apollo you can send a ACK message to accept the mes' +
|
|
|
|
'sage or NACK message to refuse the message. If you refuse the me' +
|
2016-08-02 18:15:11 +02:00
|
|
|
'ssage, broker tries to send the message to another subscriber co' +
|
|
|
|
'nnected'
|
2012-12-27 23:32:04 +01:00
|
|
|
WordWrap = True
|
|
|
|
end
|
|
|
|
object Label4: TLabel
|
|
|
|
Left = 176
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 342
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 95
|
|
|
|
Height = 13
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = 'Current Message Id'
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 337
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object Label5: TLabel
|
|
|
|
Left = 8
|
|
|
|
Top = 202
|
2016-08-02 18:15:11 +02:00
|
|
|
Width = 156
|
2012-12-27 23:32:04 +01:00
|
|
|
Height = 13
|
2016-08-02 18:15:11 +02:00
|
|
|
Caption = 'Stomp Frame Sent and Received'
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object MessageMemo: TMemo
|
|
|
|
Left = 8
|
|
|
|
Top = 85
|
2016-08-02 18:15:11 +02:00
|
|
|
Width = 431
|
2012-12-27 23:32:04 +01:00
|
|
|
Height = 116
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akTop, akRight, akBottom]
|
|
|
|
Color = clInfoBk
|
|
|
|
ReadOnly = True
|
2012-12-27 23:32:04 +01:00
|
|
|
ScrollBars = ssVertical
|
|
|
|
TabOrder = 0
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitWidth = 432
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object SubscribeButton: TButton
|
|
|
|
Left = 8
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 385
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 129
|
|
|
|
Height = 67
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = '1 - Subscribe '
|
|
|
|
TabOrder = 1
|
|
|
|
OnClick = SubscribeButtonClick
|
|
|
|
end
|
|
|
|
object QueueEdit: TEdit
|
|
|
|
Left = 8
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 358
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 129
|
|
|
|
Height = 21
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
TabOrder = 2
|
|
|
|
Text = '/queue/alarm'
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 353
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object SendAckButton: TButton
|
|
|
|
Left = 176
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 385
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 98
|
|
|
|
Height = 31
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = '2 - Send ACK'
|
|
|
|
TabOrder = 3
|
|
|
|
OnClick = SendAckButtonClick
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 380
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object SendNackButton: TButton
|
|
|
|
Left = 176
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 421
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 98
|
|
|
|
Height = 31
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = '2 - Send NACK'
|
|
|
|
TabOrder = 4
|
|
|
|
OnClick = SendNackButtonClick
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 416
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object UnsubscribeButton: TButton
|
|
|
|
Left = 311
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 385
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 129
|
|
|
|
Height = 67
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
Caption = '3 - Unsubscribe '
|
|
|
|
TabOrder = 5
|
|
|
|
OnClick = UnsubscribeButtonClick
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 380
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object MessageIdEdit: TEdit
|
|
|
|
Left = 174
|
2016-08-02 18:15:11 +02:00
|
|
|
Top = 358
|
2012-12-27 23:32:04 +01:00
|
|
|
Width = 266
|
|
|
|
Height = 21
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akRight, akBottom]
|
2012-12-27 23:32:04 +01:00
|
|
|
TabOrder = 6
|
2016-08-02 18:15:11 +02:00
|
|
|
ExplicitTop = 353
|
2012-12-27 23:32:04 +01:00
|
|
|
end
|
|
|
|
object LogMemo: TMemo
|
|
|
|
Left = 8
|
|
|
|
Top = 218
|
2016-08-02 18:15:11 +02:00
|
|
|
Width = 431
|
2012-12-27 23:32:04 +01:00
|
|
|
Height = 117
|
2016-08-02 18:15:11 +02:00
|
|
|
Anchors = [akLeft, akRight, akBottom]
|
|
|
|
Color = clInfoBk
|
|
|
|
ReadOnly = True
|
2012-12-27 23:32:04 +01:00
|
|
|
TabOrder = 7
|
|
|
|
end
|
|
|
|
end
|