-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.html
More file actions
296 lines (242 loc) · 11.7 KB
/
Copy pathindex.html
File metadata and controls
296 lines (242 loc) · 11.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<!--
Copyright (c) 2007-2016, Kaazing Corporation. All rights reserved.
-->
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="icon" href="images/favicon.ico">
<title>Kaazing | Demos</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/dev.css">
<link rel="stylesheet" href="css/demo.css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
</head>
<body>
<div class="header-container">
<header class="wrapper clearfix">
<a href="http://www.kaazing.com" target="_blank">
<div class="title logo"></div>
</a>
</header>
</div>
<div class="main-container ">
<div class="main wrapper clearfix">
<div class="powered-wrapper">
<div class="powered-header"></div>
</div>
<!-- End header -->
<article>
<section>
<!-- Kaazing scripts -->
<script src="https://cdn.kaazing.com/releases/enterprise.javascript.client/4.1.0/WebSocket.js"></script>
<script src="https://cdn.kaazing.com/releases/enterprise.javascript.client/4.1.0/JmsClient.js"></script>
<script type="text/javascript" src="js/jms.js" language="javascript"></script>
<h1>JavaScript JMS Messaging Demo</h1>
<br/>
<div id="jms-javascript">
<div id="middle">
<div class="leftPanels">
<div id="login_div" class="panel">
<span class="info">User name and password values are optional</span>
<label for="url">Location</label><input id="url"/><br/>
<label for="username">Username</label><input id="username"><br/>
<label for="password">Password</label><input type="password" id="password"><br/>
<label></label>
<div id="sso_logindiv"
style="margin-left: 2px; position: absolute; border: 1px solid black; border-radius:10px; display: none; height: 190px; width: 318px; background-color:#d0e7fd; z-index: 999;">
<div style="margin-left: 20px; height: 35px; margin-top: 20px; font-weight: bold;">
Login
</div>
<div
style="height: 124px; width: 296px; border: 1px solid black; border-radius:10px; background-color:white; margin-left: 10px;">
<div style="margin-left:10px; margin-top: 10px;">
<span style="width: 60px; font-size:11pt;">Username:</span><input
id="sso_username" size="12" style="width: 180px" value=""/>
</div>
<div style="margin-left:10px">
<span style="width: 60px; font-size:11pt;">Password:</span><input
id="sso_password" type="password" size="12" style="width: 180px" value=""/>
</div>
<div style="margin-left:45px">
<button id="sso_login" style="margin-left:25px; width: 60px;">OK</button>
<button id="sso_cancel" style="margin-left:25px; width: 60px;">Cancel
</button>
</div>
</div>
</div>
<button id="connect">Connect</button>
<button id="disconnect">Close</button>
</div>
<div id="subscribe_div" class="panel">
<span class="info">Subscribe, set message selectors, send messages, and add message properties</span><br/>
<label for="destination">Destination</label><input id="destination"
value="/topic/destination"><br/>
<label for="messageSelector">Message Selector</label><input id="messageSelector"
value=""
placeholder="Example: symbol='KZNG'"><br/>
<label></label>
<button id="subscribe">Subscribe</button>
<br/><br/>
<label for="message">Message</label><input id="message" value="Hello, message"><br/>
<label>Custom Property</label><input id="propName1" value=""
placeholder="Property name"
class="halfWidth"/><input id="propValue1"
value=""
placeholder="Property value"
class="halfWidth propValue"/>
<label>Custom Property</label><input id="propName2" value=""
placeholder="Property name"
class="halfWidth"/><input id="propValue2"
value=""
placeholder="Property value"
class="halfWidth propValue"/>
<label>Custom Property</label><input id="propName3" value=""
placeholder="Property name"
class="halfWidth"/><input id="propValue3"
value=""
placeholder="Property value"
class="halfWidth propValue"/>
<label for="binary">Binary </label><input type="checkbox" id="binary" class="cb"><br/>
<label></label>
<button id="send">Send</button>
</div>
</div>
<div class="rightPanels">
<div id="console_div" class="panel">
<div class="info">
<div style="float: left;">
Log messages
</div>
<div style="float: right; margin-right: 5px;">
Messages received : <span id="receivedMessageCount">0</span>
</div>
<div class="clearfix"></div>
</div>
<div id="console"></div>
<button id="clear">Clear Log</button>
<input type="checkbox" id="toggleJmsHeadersCb" class="cb" checked="checked"
style="margin-left: 20px;"><label for="toggleJmsHeadersCb">Show JMS
headers</label>
</div>
</div>
<div class="clearfix"></div>
<div id="bottomPanelRow">
<div class="leftPanels">
<div id="transaction_div" class="panel">
<span class="info">Send messages as a single transaction</span><br/>
<label for="txDestination">Destination</label><input id="txDestination"
value="/topic/destination"><br/>
<label for="txMessage">Message</label><input id="txMessage"
value="Hello, transaction"><br/>
<label for="binaryTransaction">Binary </label><input type="checkbox"
id="binaryTransaction"
class="cb"><br/>
<label></label>
<button id="txSend">Send</button>
<button id="commit">Commit</button>
<button id="rollback">Rollback</button>
</div>
</div>
<div class="rightPanels">
<div id="subscriptions_div" class="panel">
<span class="info">Active subscriptions</span>
<table id="subscriptions">
<thead>
<tr>
<th class="destination">Destination</th>
<th class="selector">Message Selector</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div class="clearfix"></div>
</div>
</div><!-- middle -->
</div><!-- jms-javascript -->
</section>
</article>
<!-- Start footer -->
</div> <!-- #main -->
</div> <!-- #main-container -->
<div class="footer-container">
<footer class="wrapper">
<div class="section group">
<div class="items col span_1_of_5">
<h3><a href="http://www.kaazing.com/products/">Kaazing.com</a></h3>
<ul>
<li><a href="http://www.kaazing.com/products/kaazing-websocket-gateway/">Overview</a></li>
<li><a href="http://www.kaazing.com/products/editions/">Product Editions</a></li>
<li><a href="http://www.kaazing.com/products/benefits-and-roi/">Benefits & ROI</a></li>
<li><a href="http://www.kaazing.com/products/deployment-options/">Deployment Options</a></li>
<li><a href="http://developer-stage.kaazing.com/product-demos/">Online Demos</a></li>
<li><a href="http://www.kaazing.com/websocket/">WebSocket</a></li>
</ul>
</div>
<div class="items col span_1_of_5">
<h3><a href="http://developer.kaazing.com/">Developer</a></h3>
<ul>
<li><a href="http://developer.kaazing.com/whykaazing/">Why Kaazing</a></li>
<li><a href="http://developer.kaazing.com/downloads/">Downloads</a></li>
<li><a href="http://developer.kaazing.com/how-tos/">Tech Papers</a></li>
<li><a href="http://developer.kaazing.com/forums/">Forums</a></li>
<li><a href="http://developer.kaazing.com/product-demos/">Product Demos</a></li>
<li><a href="http://tech.kaazing.com/documentation/faq.html">FAQ</a></li>
<li><a href="http://tech.kaazing.com/documentation/index.html">Documentation</a></li>
</ul>
</div>
<div class="items col span_1_of_5">
<h3><a href="http://www.kaazing.com/services/">Services</a></h3>
<ul>
<li><a href="http://www.kaazing.com/services/kaazing-global-support/">Support</a></li>
<li><a href="http://www.kaazing.com/services/consulting/">Consulting</a></li>
<li><a href="http://www.kaazing.com/services/training/">Training</a></li>
</ul>
</div>
<div class="items col span_1_of_5">
<h3><a href="http://www.kaazing.com/cloud/">Cloud</a></h3>
<ul>
<li><a href="http://www.kaazing.com/cloud/amis/">AWS AMIS</a></li>
<li><a href="http://www.kaazing.com/cloud/faq/">AWS FAQS</a></li>
</ul>
</div>
<div id="contact" class="col span_1_of_5">
<h3>Get in Touch</h3>
<div class="contact-details">
<p>T +1 (877)­ KAAZING<br/>
T +1 (877)­ 522-9464<br/>
F +1 (650)­ 960-8145</p>
<p>Worldwide Headquarters<br/>
Kaazing Corporation<br/>
6001 America Center Drive<br/>
Suite 201<br/>
San Jose, CA 95002, USA</p>
</div>
</div>
</div>
<div class="k-bottom clearfix">
<a href="#">
<div class="logo"></div>
</a>
<div class="copyright"><!--[if lte IE 7]>© 2007 - 2016 Kaazing Corporation. All Rights Reserved.
<![endif]--></div>
<div class="powered-footer"></div>
</div>
</footer>
</div>
</body>
</html>