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 EC854E21C for ; Thu, 27 Dec 2012 01:22:14 +0000 (UTC) Received: (qmail 98125 invoked by uid 500); 27 Dec 2012 01:22:14 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 98093 invoked by uid 500); 27 Dec 2012 01:22:14 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 85857 invoked by uid 99); 26 Dec 2012 18:55:48 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Wed, 26 Dec 2012 10:55:20 -0800 (PST) From: cpach To: users@camel.apache.org Message-ID: <1356548120676-5724604.post@n5.nabble.com> Subject: read xml file to be sent to a queue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I need to read a xml file: =20 XXXXX YYYYY
ZZZZZZ This information needs to be stored in a queue ActiveMQ. I am working with spring. this is file: =09 =09=09 =09=09 =09=09 =09=09 =09=09 =09 =09 =09 =09 =09 =09=09 =09=09=09 =09=09=09 =09=09=09 =09=09 =09 call from a main, public class FileCopierWithCamel { =09 public static void main(String args[]) throws Exception{ try { =09=09=09=09final ApplicationContext context =3D new ClassPathXmlApplicationContext("context-jms.xml"); =09=09=09} catch (Exception e) { =09=09=09=09System.out.println("Ex: " + e); =09=09=09=09e.printStackTrace(); =09=09=09} =09 } =09} but does not keep in line, no errors occur, eventually not work. anyone has any idea of =E2=80=8B=E2=80=8Bthe problem. Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/read-xml-fi= le-to-be-sent-to-a-queue-tp5724604.html Sent from the Camel - Users mailing list archive at Nabble.com.