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 A4028102BF for ; Tue, 27 Aug 2013 14:46:31 +0000 (UTC) Received: (qmail 87601 invoked by uid 500); 27 Aug 2013 14:46:30 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 87456 invoked by uid 500); 27 Aug 2013 14:46:30 -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 Received: (qmail 87447 invoked by uid 99); 27 Aug 2013 14:46:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 14:46:29 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of dejanb@sensatic.com does not designate 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 14:46:25 +0000 Received: by mail-vc0-f178.google.com with SMTP id ha12so3036696vcb.37 for ; Tue, 27 Aug 2013 07:46:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=F4I8uu0s4k6EfpH+tIP8vqfIsjblifJWx5NCU7urPvg=; b=Sw0zLw46GwjnbpLjrImmhUqFFzAgnCX531pM7juEXfE3BH3/JOzKop5rFcIqEE0Ygs QPtq24h7fC2g8PR7STf7llWEl2Zu0tJzstLAY+h+zkdmfL+Vv3lvlSrC1B+LVROUkDBu Z1lSLiU94LTVaoyagQR4c7+IAMKVfH7duMJe9FQJgXp9ySjnXOhtvogU1I5KS8PCcjhW MN90pmkNh7kjOVEyPURgmwZdhXY/19/hCs7o843IJx5pL5LO/4aZWQcfgwzPS3gDjaJl aTBDCk1e9o1Y3MAfFPLUJf8eWvS1a/EZAJz507pkJ2hHo8Bv84WFcuUW06c2FuK5y5s7 YjfQ== X-Gm-Message-State: ALoCoQlIoRUI80WCrG3LHBtfZ6LjrqZ5fYAYp7nVRfaA30/3bUVLuBc8oPI6v3VXPaxCFcEo8Z2I MIME-Version: 1.0 X-Received: by 10.58.215.15 with SMTP id oe15mr1859970vec.25.1377614763663; Tue, 27 Aug 2013 07:46:03 -0700 (PDT) Sender: dejanb@sensatic.com Received: by 10.58.227.5 with HTTP; Tue, 27 Aug 2013 07:46:03 -0700 (PDT) X-Originating-IP: [24.135.2.231] In-Reply-To: References: <1377586072774-5738017.post@n5.nabble.com> <1377589755637-5738023.post@n5.nabble.com> Date: Tue, 27 Aug 2013 16:46:03 +0200 X-Google-Sender-Auth: ziMQOURBq-VD88_smiN3VN5YMIA Message-ID: Subject: Re: STOMP: Exception: The maximum command length was exceeded From: Dejan Bosanac To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Coupe more things to try. 1. Use 61613 for the stomp transport in the broker configuration 2. Use stomp endpoint like (use the same port you configure in the broker) If all fails, it's best to create a test case that demonstrate your problem, so we can examine it further. Regards -- Dejan Bosanac ---------------------- Red Hat, Inc. FuseSource is now part of Red Hat dbosanac@redhat.com Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On Tue, Aug 27, 2013 at 4:07 PM, apara wrote: > I tried a number of things: > > 1) Changing broker configuration to: > final TransportConnector > stompConnector =3D > broker.addConnector("stomp+nio://0.0.0.0:61623"); > > > 2) Changing my Camel wiring to use tcp:....:61623 instead of > stomp:....:61623: > > > > > > 3) Changing the route from stomp:queue:dm6 to stomp:queue/dm6: > > > > > > > > > And still I get the same exception in each of the above changes. One thi= ng > to note, I also see a WARN message for unknown data type which I did not > notice before: > > 06:56:56.841 engine [ActiveMQ Transport: tcp:///127.0.0.1:63277@61613] WA= RN > Transport - Transport Connection to: tcp://127.0.0.1:63277 failed: > java.io.IOException: Unknown data type: 69 > 06:56:56.873 engine [main] ERROR ContextLoader - Context initialization > failed > org.apache.camel.RuntimeCamelException: > org.apache.camel.FailedToCreateRouteException: Failed to create route > route1 at: >>> To[stomp:queue/dm6] <<< in route: > Route(route1)[[From[direct:sample/engine/user]] -> [To[stomp... because o= f > Failed to resolve endpoint: stomp://queue/dm6 due to: The maximum command > length was exceeded > at > org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper= .java:1344) > ~[camel-core-2.12-SNAPSHOT.jar:2.12-SNAPSHOT] > > I am going to go back to try to send messages via JmsTemplate in Spring t= o > see if that still works. Perhaps there was another change that I did whi= ch > I don't remember. If that does not work, I will know there is something > with my configuration. Perhaps the salad bar of dependencies needs to be > revisited. > > If you guys have any other suggestions I can try them out... > > Thanks for your help. > -AP_ > > > On Tue, Aug 27, 2013 at 12:49 AM, dejanb [via Camel] < > ml-node+s465427n5738023h76@n5.nabble.com> wrote: > >> Hi, the problem is that you're trying to send stomp messages to openwire >> transport connector. Try changing your stomp component to something like >> >> >> >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussio= n >> below: >> >> http://camel.465427.n5.nabble.com/STOMP-Exception-The-maximum-command-le= ngth-was-exceeded-tp5738017p5738023.html >> To unsubscribe from STOMP: Exception: The maximum command length was >> exceeded, click here >> . >> NAML >> > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/STOMP-Exc= eption-The-maximum-command-length-was-exceeded-tp5738017p5738059.html > Sent from the Camel - Users mailing list archive at Nabble.com.