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 73CF4E139 for ; Fri, 21 Dec 2012 08:38:20 +0000 (UTC) Received: (qmail 44891 invoked by uid 500); 21 Dec 2012 08:38:20 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 44858 invoked by uid 500); 21 Dec 2012 08:38:19 -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 44843 invoked by uid 99); 21 Dec 2012 08:38:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 08:38:19 +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.mueller@gmail.com designates 209.85.214.181 as permitted sender) Received: from [209.85.214.181] (HELO mail-ob0-f181.google.com) (209.85.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 08:38:14 +0000 Received: by mail-ob0-f181.google.com with SMTP id oi10so4194323obb.40 for ; Fri, 21 Dec 2012 00:37:53 -0800 (PST) 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=b50zIjjY/LTEsyYHYlSWGZ0LX5X7ctiqQqDd2pGtpKQ=; b=lD37RUSw2smKSemUXRkDxOZdgBioKZIoB8Vg4txPxh77K0Od1tNZsAVAcbzNyGJRUK AemI6dHop2/+N+Chb4Fq92N5hLN36F0wT/QZjR3MgXEH2F/VQ0Pb4bV5GvyVOyc2eH53 mSERV1Z4M1DAvYC4UgiTW/e8ki7TpZVwY115vYwS1taLRQsBnXJVrsO/L4SgDmzikDii +7aWQ0jsc5F7PfMeYkTgsL3DSA4RDHS54vNcM0rkP86JIE8dGgSySrNmeUPiUxS4w/Wt wCY2X2Rzn/6Kkmfhpi1CmasngGokRNvt7enmDERSiCDJxMKfgl9P6buz4NxgIGHWAk2/ n0Aw== MIME-Version: 1.0 Received: by 10.182.162.66 with SMTP id xy2mr10267271obb.82.1356079073708; Fri, 21 Dec 2012 00:37:53 -0800 (PST) Received: by 10.182.114.103 with HTTP; Fri, 21 Dec 2012 00:37:53 -0800 (PST) Received: by 10.182.114.103 with HTTP; Fri, 21 Dec 2012 00:37:53 -0800 (PST) In-Reply-To: <1356069922836-5724483.post@n5.nabble.com> References: <1356069922836-5724483.post@n5.nabble.com> Date: Fri, 21 Dec 2012 09:37:53 +0100 Message-ID: Subject: Re: How to send MATIP protocol via TCP in camel From: =?ISO-8859-1?Q?Christian_M=FCller?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=e89a8f839dfb79c90404d158c3fa X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f839dfb79c90404d158c3fa Content-Type: text/plain; charset=ISO-8859-1 I don't know the MATIP protocol, but it's possible. In general by working with Mina, you only have to define your encoders and decoders and assign they to your mina endpoint. Best, Christian Sent from a mobile device Am 21.12.2012 07:09 schrieb "CKV" : > I have defined a sample TCP port and tried to send a string value through > Camel. > It was success and I got the result also. > > Please find the code > for defining the port, > > uri="mina:tcp://localhost:5555?sync=false&textline=true"/> > uri="bean:fileConsumer?method=getTcpConnection1"/> > > For testing , I used below producertemplate.sendBody to send the string > "Hello World" . > producer.sendBody("mina:tcp://localhost:5555?textline=true&sync=false", > "Hello World"); > > Got value using String body = exchange.getIn().getBody(String.class); > > Now the requirement is we need to get the Type B message coming from MATIP > protocol. > Since we are using Apache Camel we would like to get the MATIP protocol > through Camel. > > Is it possible for us to receive MATIP protocol using Camel. > Please Advice. > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-send-MATIP-protocol-via-TCP-in-camel-tp5724483.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --e89a8f839dfb79c90404d158c3fa--