JQuery, Websocket & Camel: How-to

Here’s how to make Websocket working with Apache Camel. Here’s an example of a login component. First, let’s implement the html part: Create index.html in your src/main/resources/webapp folder: <link href="js/bootstrap/css/bootstrap.css" rel="stylesheet" /><script type="text/javascript" src="js/jquery/jquery-1.8.3.js"></script><script type="text/javascript" src="js/bootstrap/js/bootstrap.js"></script><script type="text/javascript" src="js/stomp/stomp.js"></script><script type="text/javascript" src="js/index/index-start.js"></script>Read more…

Share Button