Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 94811 invoked from network); 29 Oct 2010 05:02:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Oct 2010 05:02:08 -0000 Received: (qmail 30354 invoked by uid 500); 29 Oct 2010 05:02:07 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 30230 invoked by uid 500); 29 Oct 2010 05:02:07 -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 30222 invoked by uid 99); 29 Oct 2010 05:02:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 05:02:07 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Oct 2010 05:02:03 +0000 Received: by qyl33 with SMTP id 33so5917356qyl.11 for ; Thu, 28 Oct 2010 22:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=/j9FJMLeuNvankVsXsjAlYdCSWtfVZZj5D6j/0mu+Ac=; b=jowreTJjE390WGmT3sjK0BXKQpDhTwqpKAs7d/eeUbYtQXoCvVOQJjmyyCPX5E0NBC ymgFuoyA6b9YZ3XHowXC5GALDrPf6tcPSxqEu5Pq/oBMSvw4qtvKI3J6+Jm3oHnSULjs bRDt09A/8ep6pzmqeNaxmUFCkRncHtAphHGIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=vp/kvmk/2Xi0gmFXUSSa+NQAfL3RcEeIHF4R3yeW16/c6ElCc3jLvNV8651nCPOeVT 16I3De5kPUWF014EYyqJEFNeyRkrGfQyQal6OxHjTrH2TGEFsRvBKj0kwIFHPK9LyhnA YsvLkA1/dT7KGZMskd9KjlqrEfxgJ3SWT0yRE= Received: by 10.229.225.213 with SMTP id it21mr5127308qcb.90.1288328501494; Thu, 28 Oct 2010 22:01:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.13.168 with HTTP; Thu, 28 Oct 2010 22:01:21 -0700 (PDT) In-Reply-To: <1288327415696-3241539.post@n5.nabble.com> References: <1288306776187-3241328.post@n5.nabble.com> <1288327415696-3241539.post@n5.nabble.com> From: Claus Ibsen Date: Fri, 29 Oct 2010 07:01:21 +0200 Message-ID: Subject: Re: Camel 2.4.0 Websphere MQ NONJMS Message To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Thanks for sharing this. I have created a ticket https://issues.apache.org/activemq/browse/CAMEL-3291 To see if we could provide this out of the box with Camel. For example by using reflection to set options on destination resolvers. On Fri, Oct 29, 2010 at 6:43 AM, s2010in wrote: > > Found a solution after hours of research and debugging > > Create a class like mentioned over > http://www.google.com/url?sa=3Dt&source=3Dweb&cd=3D1&sqi=3D2&ved=3D0CBMQF= jAA&url=3Dhttps%3A%2F%2Fjira.springframework.org%2Fsecure%2Fattachment%2F12= 688%2FIBMWebSphereMqDestinationResolver.java&rct=3Dj&q=3Ddestinationresolve= r%20mq%20targetclient&ei=3D9EvKTPX8D4P6lwehp5zwCg&usg=3DAFQjCNHPY-8153lgARX= LuBAfgoyLRYqQvQ&cad=3Drja > > Add @Component("wmqDestinationResolver") in the class if you are using > context scan > > Set the reference in > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0p:connectionFactory-ref=3D"mqSeriesConnect= ionFactory" p:useVersion102=3D"true" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0p:recoveryInterval=3D"30000" p:testConnect= ionOnStartup=3D"true" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0p:destinationResolver-ref=3D"wmqDestinatio= nResolver"/> > > You should be able to see MQSTR instead of MQRFH2 .. bingo .. hope this p= ost > helps other find the solution :) > -- > View this message in context: http://camel.465427.n5.nabble.com/Camel-2-4= -0-Websphere-MQ-NONJMS-Message-tp3241328p3241539.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/