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 F0D56104A8 for ; Mon, 1 Jul 2013 17:20:00 +0000 (UTC) Received: (qmail 69302 invoked by uid 500); 1 Jul 2013 17:20:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69277 invoked by uid 500); 1 Jul 2013 17:20:00 -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 69268 invoked by uid 99); 1 Jul 2013 17:19:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 17:19:59 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-la0-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 17:19:55 +0000 Received: by mail-la0-f47.google.com with SMTP id fe20so4566295lab.6 for ; Mon, 01 Jul 2013 10:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=D61+OFuLgIX7x96bessSRxeGaJtmpXVJ6gTE/cSRvGY=; b=Vod9BHq/7bkbR8GG1vcb4tZkP+EBhgSo90C/hXdirMbhUpJTXaV9R8m2KUSPpJjFWU aab3Q70p3zLZGANu5RjbfIHcYANxviU590gQXUeS0opDdYlVscb6pb1Rgh7USnKLczhG N1oTK4D9APOnIaiJN3kXYtNXQg1UVh7cAMefDYePnCaiQUHS6bY2OjkIO7EIPO8mj+2J P7IYRpp0WInT4qEemYmSxMz63hS53C343DWR5buZGjbxPnyV+VRxr63lXWzAztKwKgCP 8sx7+D0HIeZePOYwO8gW3q6VaFegdZCrUIliwpX73VWLJNyTWhXLRdkNGLm1GCBkbM/m 5Y6A== MIME-Version: 1.0 X-Received: by 10.112.55.140 with SMTP id s12mr9220833lbp.42.1372699173803; Mon, 01 Jul 2013 10:19:33 -0700 (PDT) Received: by 10.114.185.37 with HTTP; Mon, 1 Jul 2013 10:19:33 -0700 (PDT) In-Reply-To: <1372669374608-4668730.post@n4.nabble.com> References: <1372669374608-4668730.post@n4.nabble.com> Date: Mon, 1 Jul 2013 13:19:33 -0400 Message-ID: Subject: Re: Send timeouts per producer, not per Connection. Possible ? From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=001a1133e95aa35d3304e0766e13 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133e95aa35d3304e0766e13 Content-Type: text/plain; charset=ISO-8859-1 ActiveMQMessageProducer#setSendTimeout() http://activemq.apache.org/maven/apidocs/org/apache/activemq/ActiveMQMessageProducerSupport.html#setSendTimeout(int) On Mon, Jul 1, 2013 at 5:02 AM, mimodene wrote: > Hi > I have an application with different Messageproducers which all send JMS > messages to the same Broker. I am using failover protocol. I use different > producers from different Sessions from different Connections. I need a > timeout function so the "sends" don't hang. This i set in the URI timeout > option for the different connections. > As i need DIFFERENT timeouts for different Producers, so I thought easy, I > setup different connections the differen Sessions and so i get different > Producers. > My problem is that as soon as i stop the Broker all sends from my > application get a timeout, but the timeout is always the one i set on the > FIRST connection i started. This kind of defeats the purpose of having > different timeouts. My question are now, is this a known bug / feature i do > not understand ? How can i achive different timeouts for different > producers > ? Is there an option to specify the timeout not as part if the URI on the > connection but on the messageptoducer / and-or per send call ? > > I am using activem1 5.6, ready to upgrade to 5.7 / 5.8 if needed. > > Thank you for any input. > > mike > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Send-timeouts-per-producer-not-per-Connection-Possible-tp4668730.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --001a1133e95aa35d3304e0766e13--