INTS-137: Add STOMP Chat Application

JIRA: https://jira.spring.io/browse/INTSAMPLES-137

* Upgrade to Boot 1.1.7
* Fix several Boot apps to get deal with `args`, e.g. `--debug` option can be useful for Boot
* Provide a loca copy for JavaScript files (`sock.js` and `stomp.js`) to avoid extra Internet connection on testing

INTS-137-2: Make JavaScript cross-browser

Some additional polishing to the server config, like `logging-channel-adapter` for server message flow
This commit is contained in:
Artem Bilan
2014-10-13 17:31:01 +03:00
committed by Gary Russell
parent a5c12343c6
commit 63232c2974
14 changed files with 580 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ import org.springframework.messaging.support.GenericMessage;
public class Application {
public static void main(String[] args) throws Exception {
ConfigurableApplicationContext ctx = SpringApplication.run(Application.class);
ConfigurableApplicationContext ctx = SpringApplication.run(Application.class, args);
System.out.println("Hit 'Enter' to terminate");
System.in.read();
ctx.close();

View File

@@ -2,7 +2,7 @@
<html>
<head>
<title>Time over WebSocket</title>
<script src="http://cdn.sockjs.org/sockjs-0.3.min.js"></script>
<script src="http://localhost:8080/sockjs.js"></script>
<script type="text/javascript">
var sock = new SockJS('http://localhost:8080/time');

File diff suppressed because one or more lines are too long