Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 92859 invoked from network); 11 Mar 2010 16:55:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 16:55:05 -0000 Received: (qmail 37986 invoked by uid 500); 11 Mar 2010 16:54:31 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 37956 invoked by uid 500); 11 Mar 2010 16:54:31 -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 37948 invoked by uid 99); 11 Mar 2010 16:54:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 16:54:31 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.224 as permitted sender) Received: from [209.85.218.224] (HELO mail-bw0-f224.google.com) (209.85.218.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 16:54:26 +0000 Received: by bwz24 with SMTP id 24so253217bwz.36 for ; Thu, 11 Mar 2010 08:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=zd6XEjG6YUiOtt+1h3ASKwFKJJX3qnS62H2Y9p/idNg=; b=rX95051f/J+8mtOAPjQgg6U7ornhndgau5ZzglhSOb+eccJ1wq9/4l7Nw+7tmKJ4kC Ka86aucHf2iuuIr7H17xlebAoWZeXU7/15/RhjXoETRPgEaqkMfQ6FdoQVi7vW/w2Quu 5ZP7oUTRNb48tD92+Uz/PAcJApWhNPGgy7hX0= 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=B7W/3Nt2EplGU8RqT9B6TNUrV+bQOu+sezomsOZb1ImIO4TY6jjtplzvV/XfRjqT0T 6xilCw2j2iKL9yAA3hvScewOgyD66s7OM1PS7mFHqGRQ6S6JTt1c3qxreER8h9Iz0Ao4 +8rj2qhAckHrnC2qou+IWQpGg52RpGhPtHok4= MIME-Version: 1.0 Received: by 10.204.34.15 with SMTP id j15mr4098031bkd.72.1268326442118; Thu, 11 Mar 2010 08:54:02 -0800 (PST) In-Reply-To: <27866178.post@talk.nabble.com> References: <27857263.post@talk.nabble.com> <5380c69c1003102149g5a8d7c1dl597bf9cad4b01dfa@mail.gmail.com> <27866178.post@talk.nabble.com> From: Claus Ibsen Date: Thu, 11 Mar 2010 17:53:42 +0100 Message-ID: <5380c69c1003110853r300698ccs3c09586a7417e660@mail.gmail.com> Subject: Re: Websphere MQ setting targetClient=1 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 Hi Its a generic WebSphereMQ issue how to configure this with Spring JMS. Try googling and search a bit wider. On Thu, Mar 11, 2010 at 5:51 PM, Jason Queen wrote= : > > I've been searching the form for quit some time now. =A0The closest post = i've > found to set the targetClient on an endpoint is this. > > http://old.nabble.com/Bridging-the-ActiveMQ-with-IBM-Websphere-using-Came= l-td19623329.html#a19646763 > > At the end you explain how to set the transactionType on the connection > factory but that is different then setting the targetClient on the Queue. > > I also found one where a discussion is being discussed to be about to > configure the endpoint. > > http://old.nabble.com/Camel-to-Websphere-MQ-communication-td20834360.html= #a20834360 > > There doesn't seem to be a solution in the post. > > > > Claus Ibsen-2 wrote: >> >> Hi >> >> Search this forum as I think IBM MQ have been debated before, and how >> to get it working. >> >> >> On Thu, Mar 11, 2010 at 12:17 AM, Jason Queen >> wrote: >>> >>> With camel 1.6.1 I'm trying to set the targetClient=3D1 for a queue >>> connection. >>> Here is the code im using to try to accomplish this but it doesnt work: >>> >>> =A0 =A0 =A0 =A0MQQueueConnectionFactory cf =3D new MQQueueConnectionFac= tory(); >>> >>> =A0 =A0 =A0 =A0JmsConfiguration jc =3D new JmsConfiguration(cf); >>> >>> =A0 =A0 =A0 =A0cf.setHostName("server"); >>> =A0 =A0 =A0 =A0cf.setPort( 1415); >>> =A0 =A0 =A0 =A0cf.setQueueManager( "queueManager"); >>> =A0 =A0 =A0 =A0cf.setChannel("channel"); >>> =A0 =A0 =A0 =A0cf.setTransportType(1); >>> >>> =A0 =A0 =A0 =A0JmsTransactionManager102 jtm =3D new JmsTransactionManag= er102(cf, >>> false); >>> >>> =A0 =A0 =A0 =A0JmsComponent ibmmq =3D new JmsComponent(jc); >>> >>> =A0 =A0 =A0 =A0ibmmq.setAcknowledgementModeName("AUTO_ACKNOWLEDGE"); >>> =A0 =A0 =A0 =A0ibmmq.setUseVersion102(true); >>> =A0 =A0 =A0 =A0ibmmq.setTransacted(true); >>> =A0 =A0 =A0 =A0ibmmq.setTransactionManager(jtm); >>> >>> =A0 =A0 =A0 =A0CamelContext camel =3D new DefaultCamelContext(); >>> >>> =A0 =A0 =A0 =A0Map props =3D new HashMap(); >>> =A0 =A0 =A0 =A0props.put("targetClient", 1); >>> =A0 =A0 =A0 =A0camel.setProperties(props); >>> >>> =A0 =A0 =A0 =A0camel.addComponent("ibmmq", ibmmq); >>> >>> =A0 =A0 =A0 =A0camel.addRoutes( new RouteBuilder() { >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void configure() { >>> >>> =A0from("file://C:/cameltest").to("ibmmq:TEST.QUEUE"); >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } >>> =A0 =A0 =A0 =A0}); >>> >>> =A0 =A0 =A0 =A0camel.start(); >>> >>> I assume this isn't the correct way to do this. =A0Does anyone have an >>> example >>> of getting it to work with version 1.6.1? >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Websphere-MQ-setting-targetClient%3D1-tp27857263p= 27857263.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> Claus Ibsen >> Apache Camel Committer >> >> Author of Camel in Action: http://www.manning.com/ibsen/ >> Open Source Integration: http://fusesource.com >> Blog: http://davsclaus.blogspot.com/ >> Twitter: http://twitter.com/davsclaus >> >> > > -- > View this message in context: http://old.nabble.com/Websphere-MQ-setting-= targetClient%3D1-tp27857263p27866178.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > --=20 Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus