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

@@ -68,7 +68,7 @@ import org.springframework.social.twitter.api.impl.TwitterTemplate;
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.in.read();
ctx.close();
}

View File

@@ -75,7 +75,7 @@ import org.springframework.social.twitter.api.impl.TwitterTemplate;
public class Application {
public static void main(String[] args) throws Exception {
ConfigurableApplicationContext ctx = SpringApplication.run(Application.class);
ConfigurableApplicationContext ctx = SpringApplication.run(Application.class, args);
Scanner scanner = new Scanner(System.in);
String hashTag = scanner.nextLine();
System.out.println(ctx.getBean(Gateway.class).sendReceive(hashTag));