Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 5C0C511FE5 for ; Sat, 11 May 2013 04:14:43 +0000 (UTC) Received: (qmail 83763 invoked by uid 500); 11 May 2013 04:14:42 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 83216 invoked by uid 500); 11 May 2013 04:14:39 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 83124 invoked by uid 99); 11 May 2013 04:14:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 May 2013 04:14:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.215.49 as permitted sender) Received: from [209.85.215.49] (HELO mail-la0-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 May 2013 04:14:28 +0000 Received: by mail-la0-f49.google.com with SMTP id ee20so1361021lab.36 for ; Fri, 10 May 2013 21:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=HcIpVhvbpx89ZK/9UJAuuvqXv0Mm+MWMk0aNjKxVtVQ=; b=wI4B4DjHby4rklfVZc+HMD2V+0HTcCUnXvd3oLdTYMs5u8UrJSeqRyj0CisOpVNJ/B iMU0x3lPCSNBDYFh7PqhohdUO0ub06/okiCm24pQxEUjKCLyQt3rfYljikcm66kt70Rz HNKumoHZEHP7qRTSQqSMPnPZcCQlSeRIVaM6Qpz4Za/SLrQVkaYQEn8TMzMbOCzsGOBB zLsh7KmMZ/5P9FojqbMQkakCQO3eylQsAQpnQZcz2LL54Wot3+4+UjhQKunOHDTHHyyT FLLAuN9kdE2fSGVMWSf5+4IjpMT9SSkrRKs2stzEkNUYoxBU/SPdN8qlptkxEBT3mKuT HVVg== MIME-Version: 1.0 X-Received: by 10.152.87.116 with SMTP id w20mr8987856laz.0.1368245648075; Fri, 10 May 2013 21:14:08 -0700 (PDT) Received: by 10.114.83.134 with HTTP; Fri, 10 May 2013 21:14:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 May 2013 21:14:07 -0700 Message-ID: Subject: Re: Options for STOMP transport connector From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=001a11c237c4d1b21904dc698364 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c237c4d1b21904dc698364 Content-Type: text/plain; charset=ISO-8859-1 inline... On Fri, May 10, 2013 at 6:44 PM, Paul Gale wrote: > Hi Christian, > * > >What client are you using to connect with JMS?* > Java JMS, .NET and Ruby based STOMP clients. I'm only involved with the > Ruby clients. I have no idea how a JMS client is coded. > > Are all of these options reserved exclusively for non-STOMP clients? > http://activemq.apache.org/tcp-transport-reference.html No. those configure the TCP transport. They are not openwire or STOMP exclusive. They are also not client or broker specific. I can update the wiki, but they can more explicitly be set as "transport.soTimeout" or "transport.soLinger"... > > > Are all of these options available for both clients and brokers? > http://activemq.apache.org/configuring-wire-formats.html Yes, these configure the wire-level protocol options (openwire). They are specific to openwire. > > > Lastly, can these options be specified on a broker's non-STOMP transport > connector URI (I presume they're illegal on a STOMP transport connector)? > > transport.ioBufferSize=16384 > transport.maximumConnections=1000 > transport.soTimeout=10000 > transport.soWriteTimeout=10000 > transport.socketBufferSize=131072 > transport.threadName > Yes. But regarding your question previously asked... those options are reserved for client-side settings. > > During startup, it would be nice if ActiveMQ logged the options, parsed > from the transport connector's URI, that will be honored and warned about > those that will be ignored. I read somewhere that incorrect options are > 'silently' ignored. Why silently? Log a warning for each ignored option! > Thanks for your feedback. I will double check the debug-level settings and add this if they don't already to that. > > Sorry for asking multiple questions in a single email: multiple answers are > much appreciated. > good questions :) no worries. > > Thanks, > Paul > > > > On Fri, May 10, 2013 at 7:10 PM, Christian Posta > wrote: > > > s/JMS/the broker > > > > > > On Fri, May 10, 2013 at 4:09 PM, Christian Posta > > wrote: > > > > > So you said transport connector... as in broker side... those options > are > > > for client-side connections and apply to the ActiveMQConnectionFactory. > > > What client are you using to connect with JMS? > > > > > > > > > On Fri, May 10, 2013 at 7:49 AM, Paul Gale > > wrote: > > > > > >> Hi, > > >> > > >> Can the following options also be used on a STOMP transport connector? > > >> > > >> watchAdvisoryTopics, alwaysSessionAsync and dispatchAsync > > >> > > >> Thanks, > > >> Paul > > >> > > > > > > > > > > > > -- > > > *Christian Posta* > > > http://www.christianposta.com/blog > > > twitter: @christianposta > > > > > > > > > > > -- > > *Christian Posta* > > http://www.christianposta.com/blog > > twitter: @christianposta > > > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --001a11c237c4d1b21904dc698364--