Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2FBBA10B4E for ; Tue, 16 Apr 2013 03:14:46 +0000 (UTC) Received: (qmail 27409 invoked by uid 500); 16 Apr 2013 03:14:45 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 27363 invoked by uid 500); 16 Apr 2013 03:14:45 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 83148 invoked by uid 99); 16 Apr 2013 03:01:22 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,NORMAL_HTTP_TO_IP,SPF_NEUTRAL,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of vivek79@gmail.com) Date: Mon, 15 Apr 2013 20:00:55 -0700 (PDT) From: vivek79 To: users@camel.apache.org Message-ID: <1366081255829-5730948.post@n5.nabble.com> Subject: Camel EmbeddedBroker and WebSocket MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using camel routes to embedded broker using following code. ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("vm:broker:(ws://0.0.0.0:61614)") getContext().addComponent("event-jms",JmsComponent.jmsComponentAutoAcknowledge(connectionFactory)) from("jetty:http://0.0.0.0:8090/events?matchOnUriPrefix=true") .to("log:${getClass().getName()}?level=INFO&showAll=true") .inOnly("event-jms:topic:events") When I use post to http://0.0.0.0:8090/events message correctly gets in to activeMQ. Java Script client is based on Stomp example (websocket-stomp) http://jmesnil.net/stomp-websocket/doc/. but my Java Script client doesn't get connected to web socket. if I run the same configuration from standalone ActiveMQ installation then both work I have no errors in the console log , and camel-optional.jar is also included is websocket only available in standalone installation? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-EmbeddedBroker-and-WebSocket-tp5730948.html Sent from the Camel - Users mailing list archive at Nabble.com.