Re: Velocity component

2010-04-21 Thread Christian Müller
Hello Oliver! I think another possibility could be for you to use JAXB to unmarshal your XML document into a java bean. Then you can use the following expression in your velocity template: $body.username Please have a look on this test: http://svn.apache.org/viewvc/camel/trunk/components/camel-v

Re: Bindy - CsvRecord( separator = "|" )

2010-06-08 Thread Christian Müller
Hello D., the short answer is, use the annotation '@CsvRecord(separator = "\\|")'. Camel-Bindy internally use java.util.String.split(String regexp, int limit) which means, that this separator is interpreted as a regular expression. I updated the wiki page to reflect this: https://cwiki.apache.org/

Re: Bindy

2010-06-08 Thread Christian Müller
Hello Russ, I'm afraid, there is no undocumented pattern to remove whitespaces. I think we have to extend the 'org.apache.camel.dataformat.bindy.annotation.DataField' for this requirement. Feel free to raise a JIRA issue for this: https://issues.apache.org/activemq/browse/CAMEL And to quote Claus

Re: Camel 2.3.0 , JAXB component marshalling

2010-06-10 Thread Christian Müller
Hey, it looks like, you use the 'org.apache.camel.model.dataformat.JaxbDataFormat' and not the 'org.apache.camel.converter.jaxb.JaxbDataFormat' from camel-jaxb... Cheers, Christian

Re: marshal to CSV with pipe delimiter

2010-06-15 Thread Christian Müller
Hello Andy! I will have a look on it soon. Regards, Christian On Tue, Jun 15, 2010 at 11:26 AM, Andy Bourke wrote: > > Hi Claus, > > The following example of commons-csv demonstrates taking input delimited by > comma and writing output delimited by pipe. > > > import java.io.Reader; > import ja

Re: marshal to CSV with pipe delimiter

2010-06-15 Thread Christian Müller
Hello Andy! I added a unit test for camel-csv which uses a pipe by marshaling the object. You will find the test [here| http://svn.apache.org/viewvc/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat]./csv/CsvMarshalPipeDelimiterTest.java?view=markup I will also add an unit

Re: marshal to CSV with pipe delimiter

2010-06-16 Thread Christian Müller
m not sure, because with camel-bindy and soon also with camel-smooks (I waiting for Tom Fennellys feedback) we offer two alternatives... Regards, Christian On Tue, Jun 15, 2010 at 10:48 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Hello Andy! > > I added a unit test

Re: marshal to CSV with pipe delimiter

2010-06-17 Thread Christian Müller
t I provided for camel-csv, is not possible for >> the XML DSL. Should we improve camel-csv for this? I'm not sure, because >> with camel-bindy and soon also with camel-smooks (I waiting for Tom >> Fennellys feedback) we offer two alternatives... >> >> Regards, >>

My camel-CXF tests fails, if they run together

2010-07-05 Thread Christian Müller
Hello list, I using Apache Camel 2.2.0-fuse-01-00 and I have trouble to run my four unit tests. If I run each test separate (annotate the other tests with @Ignore or run only one test method in my IDE) all tests succeed. But if I run all tests together (one test after the others) with Maven or in

Re: My camel-CXF tests fails, if they run together

2010-07-05 Thread Christian Müller
three, number four succeed. Very strange... Regards, Christian On Mon, Jul 5, 2010 at 4:21 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Hello list, > > I using Apache Camel 2.2.0-fuse-01-00 and I have trouble to run my four > unit tests. If I run each test separate (

Re: My camel-CXF tests fails, if they run together

2010-07-06 Thread Christian Müller
Hello Christian, hello Willem! I extract the creation of the client in a 'setUpBeforeClass' method, so that the client is only initialized once: @BeforeClass public static void setUpBeforeClass() throws Exception { URL wsdlURL = IncommingRouteTest.class.getClassLoader().getResourc

Re: My camel-CXF tests fails, if they run together

2010-07-07 Thread Christian Müller
Hello Willem, hello Christian! Thanks a lot for your help. I modified my setUpBeforeClass method to: @BeforeClass public static void setUpBeforeClass() { // start a simple CXF server ServerFactoryBean svrBean = new ServerFactoryBean(); svrBean.setAddress("http://lo

Re: Splitting a large xml file

2010-07-18 Thread Christian Müller
Hey Jason, it's had to dig into this problem, without knowing some fundamental information. See http://camel.apache.org/support.html: Which version of camel do you use? Can you please provide the complete stack trace? How your FileToInputStreamProcessor looks like? How your xPathBuilder looks like

Re: content router to one or many destinations

2010-08-06 Thread Christian Müller
Hello Mark! I think you are looking for the Routing Slip EIP: http://camel.apache.org/routing-slip.html Cheers, Christian Am 06.08.2010 19:03 schrieb "Mark Webb" : I would like to use a router in Camel that has an input "A", and two outputs "B" and "C". When a message comes in on A there are t

Re: JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-10 Thread Christian Müller
Do you have camel-jaxb in your classpath? Which version of camel do you use? Cheers, Christian Am 08.09.2010 22:23 schrieb "dresden" : I am trying to get basic unmarshalling to work. The samples show this (and I am trying it verbatim, but changed the package ref), but I get the following error.

Re: JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-10 Thread Christian Müller
Hello dresden! (Sounds lucky for me, because I was born in Dresden... :o) ) Claus has explained this in his book Camel in action ( http://www.manning.com/ibsen/). I think you need a copy... :-) The source code is available at google code and I think you should follow the following links: http://

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-10 Thread Christian Müller
Hello Bengt, we use the following on [1]. I think we could also update to 4.1.0. I opened a JIRA for it [2]. Hope this helps, Christian [1] http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar [2] https://issues.apach

Re: aggregation from single vs multiple original exchanges

2010-09-10 Thread Christian Müller
Hello Lorrin! Claus explain this in his book Camel in Action ( http://www.manning.com/ibsen/). The source code is available at google code. You should have a look in the following examples: http://code.google.com/p/camelinaction/source/browse/#svn/trunk/chapter8/aggregator/src/test/java/camelinact

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-11 Thread Christian Müller
ed to the above, one also needs an OSGi bundle for the API: > javax.validation. Glassfish wraps it in the same jar I mentioned above. > From > where does Camel take it? > > I don't quite understand how Camel can use the non-OSGi:fied version of > hibernate-validator. Have you

Camel Exchange Patters

2010-09-11 Thread Christian Müller
Hello list! I read Claus, Jonathan and Hadrians book Camel in Action and I studied the Camel site [1]. I also hat a short conversation with Ade from Progress about the exchange pattern, but still I have the feeling I doesn't understand all aspects. May be you can help me to understand it correct.

Re: Camel Exchange Patters

2010-09-14 Thread Christian Müller
Hello Claus! That's not (in my opinion) how it works currently. At present I work on a route which looks like this: errorHandler( defaultErrorHandler() .retryAttemptedLogLevel(LoggingLevel.DEBUG) .retriesExhaustedLogLevel(LoggingLevel.INFO)); onException(IllegalArgumentException.class)

Re: UuidGenerator performance issue

2010-09-20 Thread Christian Müller
You can provider your down UUIDGenerator implementation. I will provide a more detailed answer when I'm at home. Christian Am 20.09.2010 19:05 schrieb "camel_el" : Hi, my system is generating a lot of exchanges (many concurrent threads), so many that creating an exchange becomes a bottleneck.

Re: UuidGenerator performance issue

2010-09-20 Thread Christian Müller
Hello camel_el! I think the page [1] contains all information you need. Starting with Camel 2.5, you can provide your own implementation of UuidGenerator. [1] http://camel.apache.org/uuidgenerator.html Regards, Christian On Mon, Sep 20, 2010 at 8:49 PM, Christian Müller < christian.m

Re: Should we (could we?) make Exchanges serializable?

2010-10-08 Thread Christian Müller
I'm the camel user Ade is working with. :o) If I understood correct, we should code something like this on the sender side (we use Camel 2.2): Serializable holder = DefaultExchangeHolder.marshal(exchange); exchange.getIn().setBody(holder); and on the receiver side: holder = exchange.getIn().getB

Re: Giving anonymous processors an identity - is there an annoation for that?

2010-10-08 Thread Christian Müller
Hello Claus, hello Ade! I modified the test a bit on my machine. I added the following two lines to enable the default tracer: {code:java} context.setTracing(true); context.getInterceptStrategies().add(new Tracer()); {code} I received the following log statements:

Re: Camel Routes Names

2010-10-17 Thread Christian Müller
Use routeId() as follwing: from("direct:start").routeId("myRoute") .to(mock:bar); Cheers, Christian On Sun, Oct 17, 2010 at 8:19 PM, rguig saad wrote: > > I've Used Camel Context Naming and found it very Useful . > Now I've seen that Routes has got inc names => "route1", "route2" > My ques

Camel-jms with ActiveMQ: loosing messages by using non persistent messaging

2010-10-20 Thread Christian Müller
A few weeks ago, I started a thread on the Camel dev channel [1] about loosing messages if I use non persistent messaging with ActiveMQ. The broker shoot down, if the single, non persitent connection was closed and start the broker again, if I open a new connection to it (I have to configure the co

Re: Camel-jms with ActiveMQ: loosing messages by using non persistent messaging

2010-10-21 Thread Christian Müller
Hello Willem, thanks for sharing this. Christian

Re: camel 2.4 and cxf issue - works in 2.2

2010-10-23 Thread Christian Müller
Not sure if this resolve the issue, but you should remove the '-2.5' in your Spring bean schema location (because you use Spring 3). Christian Am 23.10.2010 20:05 schrieb "Hossein" : Hello, We were using fusesource 4.2 SP 1 and have some cxf endpoint that can be deployed into SMX 4.2 SP 1 with

Re: camel 2.4 and cxf issue - works in 2.2

2010-10-24 Thread Christian Müller
Its possible, but your stack trace looks like you use Spring 3.0.3 and not 2.5.x... Christian Am 24.10.2010 02:32 schrieb "Hossein" : I thought Camel 2.x supports Spring 2.5 and 3.0 and we can still use Spring 2.5 in Camel 2.4 and Spring 3.0 features will later be used by Camel 3.0. Is this inc

Re: Enabling tracing in production

2010-11-01 Thread Christian Müller
I think this will be a great improvement for Camel 2.6 or Camel 3.0 - looking up some Camel "components" from the OSGI regestry by default like a custom tracer, a custom UUID generator, ... At present, we also configure these component in one OSGI bundle and import they in every other bundle. Not r

Re: Enabling tracing in production

2010-11-01 Thread Christian Müller
Hello Christopher! If you configure a Tracer in the Camel context, Camel will set tracing to true. You can configure the "enabled" property in the Tracer. Camel will only trace messages, if this property is set to true (the default). Hope this answers your question, Christian

Re: how to handle exceptions thrown by

2010-11-01 Thread Christian Müller
The easiest solution could be to catch your exception and return false (I assume you throw an exception if the address string is not "well formed" for you and in fact invalid). However, where is your 'onException' definition? May be this link is helpful for you: http://camel.apache.org/exception-c

Re: Enabling tracing in production

2010-11-02 Thread Christian Müller
Hello Christopher, Yeah, you can use the Spring (or Camel) Property Placeholder mechanism to externalize this configuration into a property file. The "-trace" option 'only' enables the tracing functionality. There is no '-disable-trace' option what is what you need (if you configure a Tracer but i

Re: Ambiguous method invocations in bean binding

2010-11-03 Thread Christian Müller
Hello Rafal! Please provide more details like the Camel version you are using in further questions. Please have a look here: http://camel.apache.org/how-can-i-get-help.html However, I assume you have a String as payload in your message. The default Camel type converter mechanism is able to conver

Re: Ambiguous method invocations in bean binding

2010-11-04 Thread Christian Müller
Hello! I made the tests and the patch against the latest version (2.6-SNAPSHOT). You will still receive this exception... I'm not sure which way we want to go (because of the note from Claus) - maybe both? Christian

Re: Camel-quickfix logging

2010-11-04 Thread Christian Müller
Hello Vid! I think this is a question for the Log4J mailing list. They can answer this question better than we... However, if it's possible for you to use a property file for your log4j configuration (that's the way Camel configure log4j), you will find many samples in the Camel unit tests like th

Re: MessageConverter Example

2010-11-04 Thread Christian Müller
Or do you mean the Camel type converter? See http://camel.apache.org/type-converter.html Christian

Re: Camel-quickfix logging

2010-11-05 Thread Christian Müller
Than maybe this page is helpful for you: http://wiki.apache.org/logging-log4j/Log4jXmlFormat Christian

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-06 Thread Christian Müller
Which namespace do you use for the "cxf" prefix? Christian Am 06.11.2010 17:40 schrieb "Marco Zapletal" : Hello, I am defining my CXF services in camel config (using 2.5.0) as follows: classpath:wsdl/Message.xsd When starting my Camel application an exception as show

Re: Custom Predicates definition in Spring XML

2010-11-10 Thread Christian Müller
Hello Ray! I build a small example and it works. If you like, I can send you my example Eclipse project. {code:title=MyPredicate.java} public class MyPredicate implements Predicate { public boolean matches(Exchange exchange) { return true; } } {code} {code:title=MyBean} public c

Re: Splitting big XML files using xpath() and streaming()

2010-12-14 Thread Christian Müller
@Claus: As what I found, using XPath in a streaming mode is not possible out of the box in Java 5 or 6 (XPath 1.0 needs the DOM XML Document). JAXP 1.4 (part of Java 6) includes the StAX API and can be used in Java 5. But than we have to parse the XPath expression by our self and use the Iterator A

Re: Splitting big XML files using xpath() and streaming()

2010-12-14 Thread Christian Müller
Only for clarification, the streaming mode doesn't work with xpath but works very well with the Scanner, which is used if you split like this: split(body(String.class).tokenize("\n")). If you have to split CSV files, you will probably use the Scanner. You should also have a look at the camel smooks

Re: prepared statements in camel-jdbc?

2010-12-27 Thread Christian Müller
Hello Tommy! I didn't understand how the prepared statement can be an improvement here (preventing sql injection) when the sql is constructed in your bean. Could you please explain in more detail what do you want. At present, the camel-jdbc component expects a sql query or sql update in the exchan

Re: Processing files one by one in camel

2010-12-28 Thread Christian Müller
The route definition is executed once at start up. This means "setHeader("Message-ID", constant(""))" will also executed once and the same message ID is set each time. Use a processor, bean or scripting language for this requirement. Cheers, Christian On Tue, Dec 28, 2010 at 3:45 PM, kanmisc wro

Re: Consuming Files using Timer/Quartz

2010-12-28 Thread Christian Müller
from("xxx").from("yyy") is not valid. See the configuration options for the camel-file [1] if the directory should be polled for every 5 minutes. Look for the the "delay" option and maybe also the "initialDelay" option. If you want to send the same file every 5 minutes (for whatever reason), use

Re: Loving the camel

2011-01-17 Thread Christian Müller
Hello Blair! Thank you for your very lovely feedback. Mostly we get feedaback if something goes wrong or if a feature is missing... :o) So, thank you again. I'm also the author of the camel-sms component and very pleased that this component is used and you are happy with it. Keep riding the Camel

Re: Using Splitter and file producer with option fileExist=Append failed

2011-01-24 Thread Christian Müller
I'm using Mac OS X 10.6.6 at home (where I had this issue). But normaly I have to develop under Windows XP in my office and than the services will be deployed to FUSE ESB which runs on CentOS...

Re: Using Splitter and file producer with option fileExist=Append failed

2011-01-24 Thread Christian Müller
Hello Claus! Thanks for looking into it. Let me know, if I can help here (if it's not to complicated ;-) ). Cheers, Christian

Re: Memory leak in camel mail component

2011-01-31 Thread Christian Müller
Hello Sri! Today, we released Camel 2.6. Could you check, if your issue still exists in this version? A code snippet, how you use the mail component, would also be helpful. Reards, Christian

Re: Memory leak in camel mail component

2011-02-02 Thread Christian Müller
Hello Sri! I will have a look later this day. If it's a bug, I will rais a JIRA for it. Cheers, Christian

Re: Memory leak in camel mail component

2011-02-02 Thread Christian Müller
I think Sri means the recipient headers we have in camel-mail [1], right? [1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java Christian

Re: Memory leak in camel mail component

2011-02-02 Thread Christian Müller
Claus is right. I made a little test which shows that the number of endpoints grows until we reach 1000 cached endpoints... {code} import javax.mail.internet.AddressException; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; import org.jvnet.mock_javamail.Mailbox; pub

Re: camel-smpp - disconnect problem

2011-02-04 Thread Christian Müller
I will have a look on it later today... Am 04.02.2011 07:07 schrieb "Claus Ibsen" : On Fri, Feb 4, 2011 at 2:36 AM, Alex MadMind wrote: > Hello! > > I use came... Could you take a look in the camel-smpp source code. Its most likely a matter of adding the unbind logic in the doStop method of the

Re: camel-smpp - disconnect problem

2011-02-04 Thread Christian Müller
Opened a ticket for it: https://issues.apache.org/jira/browse/CAMEL-3624 Add yourself as a watcher to track the progress...

Re: JPA Quandary

2011-02-06 Thread Christian Müller
Fixed in https://issues.apache.org/jira/browse/CAMEL-3634 Mark, you are welcome to test the patch which I have applied to trunk. Christian >

Re: Memory leak in camel mail component

2011-02-07 Thread Christian Müller
Is disabling JMX an option for you? This could be a workaround/solution for you. Christian

IllegalArgumentException: class Tracer$$EnhancerByCGLIB$$3c5de9de is not an enhanced class

2011-02-08 Thread Christian Müller
Hello List! My environment is ServiceMix 4.2.0-fuse-02-00 and Camel 2.2.0-fuse-02-00. I'm not sure whether this problem is related to ServiceMix or Camel. In our integration solution, we developed our own Tracer, whcih extends org.apache.camel.processor.interceptor.Tracer. We have to do this, bec

Re: Camel 2.4 + Spring + JTA Tx Manager on Fuse ESB

2011-02-08 Thread Christian Müller
Hello Charles! I have posted a similar question yesterday [1]. I'm not sure if the SMX exported transaction manager is XA capable or not. I will work on a little example to figure this out, because I didn't receive a response until now. I will also try a configuration with the atomicos XA transact

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Müller
Hello Ade! Good to hear from you. If we "only" use HTTP, everithing works well. I think the "httpj:engine-factory" config for HTTPS is the problematic configuration. I don't know whether there is another way to configure HTTPS for the CXF server. Because your suggestion "OSGi HTTP service" introdu

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Müller
That's the same question I had (where can we configure the SSL). :-) If it's work, this will be grat! Christian

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Müller
After a fresh cup of cafe, I think I have a good idea. Why not providing a jetty.xml file in ${SMX_HOME}/etc (like the activemq-broker.xml) and configuring jetty there. And in our (multiple) CXF bundle configurations, we using the already running Jetty as Charles suggested. Sounds also a good idea

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-13 Thread Christian Müller
Jacob, we need some more information, if we should help you out. Please have a look at this page: http://camel.apache.org/support.html And some additional information which are useful are: Did you build the example by yourself or download you the example as zip file? How did you deploy the example

Re: tutorial-osgi-camel-part1 on virgo (dm Server)

2011-02-13 Thread Christian Müller
Jacob, did you read the support page? http://camel.apache.org/support.html Without some important information, it's very hard to help you. If you say "deployed using Virgo web-server v2.1", do you mean copying into $VIRGO_HOME/pickup directory? Or did you use the Admin console? Did you install all

Re: Can Camel be used to define Business Process Routes ?

2011-02-24 Thread Christian Müller
Hi Vishal, Camel already has an extract-transform-load example. Maybe it's useful for you: https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-etl/ Christian

Re: Router logic

2011-02-28 Thread Christian Müller
We are using the content enricher EIP pattern [1] in conjunction with the enrich DSL element/method. [1] http://camel.apache.org/content-enricher.html Christian

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-03-01 Thread Christian Müller
Hello Claus! I think the FAQ entry is a good idea and I would like to do it. But before, I would like to get a confirmation about our adoption from one of the CXF experts (Willem, Daniel, ...). Christian

Re: Does Camel-Mina work with version 2 of Apache Mina

2011-03-01 Thread Christian Müller
I'm the ticket holder... ;-) Currently we have some trouble to upgrade to Mina 2.0.2. There are some API changes and a few unit tests still fail. I think we will upgrade to Mina 2.0.2 in Camel 2.8. The Ticket: https://issues.apache.org/jira/browse/CAMEL-3471 Cheers, Christian

Re: JPA 2 Support

2011-03-01 Thread Christian Müller
I raised the JIRA issue: https://issues.apache.org/jira/browse/CAMEL-3742 Christian

Re: Using a camel-cxf producer and want switch between http and https without new deployments

2011-03-03 Thread Christian Müller
I added the FAQ page [1]. You someone of you review it? [1] https://cwiki.apache.org/confluence/display/CAMEL/How+to+switch+the+CXF+consumer+between+HTTP+and+HTTPS+without+touching+the+Spring+configuration Thanks in advance, Christian

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Christian Müller
It looks like it doesn't work. Charles also had this problem (everything looks good, but it seams to service is not listening for the web service endpoint). See [1]. And another user also [2]. The working CXF OSGI examples using the jaxws configuration. I will test the Camel report incident examp

Re: FTP Component - How to Disconnect?

2010-01-21 Thread Christian Müller
Hey Gunnar, you are right. At present, we disconnect only after a failed write/upload from the server. Currently you have no choice to configure a session disconnect after a write. @Claus: Should Gunnar open a JIRA ticket for that or won't we change this? Regards, Christian On Thu, Jan 21, 2010

Re: how to configure sending to MQseries

2010-02-10 Thread Christian Müller
Hey Ray! May be this link is helpful: http://old.nabble.com/Camel-and-IBM-MQ-Series-td24524277.html Regards, Christian On Wed, Feb 10, 2010 at 1:51 PM, Mond Ray Mond wrote: > > In Spring I have the following queue defined: > > > p:targetClient="1"> > > > > > All of

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Christian Müller
I would like this. Christian

Re: Websphere MQ setting targetClient=1

2010-03-11 Thread Christian Müller
Hello Jason! I think Claus means this thread: http://old.nabble.com/Camel-and-IBM-MQ-Series-td24524277.html Regards, Christian

Re: Camel-ftp component problem

2010-04-12 Thread Christian Müller
I think Claus said to run the following command: >features:install camel-ftp And in http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/main/resources/features.xml?view=markupyou can see, that the camel-ftp feature installs the following bundles/features: mvn:commons-net

Re: Updating properties via JMX

2013-10-01 Thread Christian Müller
Did you checked http://camel.apache.org/camel-jmx.html ? Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html h

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread Christian Müller
This doesn't sounds right. Can you provide a unit test which shows this behavior and attach it to a JIRA [1]!? [1] http://camel.apache.org/contributing.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel:

Re: Moving from Spring 3.0.6 to 3.2.3 results in exception - Cannot find any Camel Context from the Application Context.

2013-10-02 Thread Christian Müller
You should mention the Camel version you are using... Best, Christian Am 02.10.2013 19:07 schrieb "MichaelAtSAG" : > Overview > > We have built a Camel application that runs as both stand-alone jar and > webapp in tomcat. The application works fine in Spring version 3.0.6, yet > results in except

Re: The facebook component does not read headers values ?

2013-10-03 Thread Christian Müller
Emilien, could you please open a JIRA and attach your patch. We are happy to review and may apply it. Best, Christian Am 03.10.2013 14:35 schrieb "Emilien" : > Hi everybody, > > I am trying to use the facebook component in camel 2.12.1 to perform FQL > queries. > It works nice by calling the endp

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread Christian Müller
Maybe from bean is a valid route... Best, Christian Am 03.10.2013 17:46 schrieb "James Carman" : > That second route with no "to" is "stealing" your messages, I'd guess. > I am actually surprised you're able to create a route with no "to." > I'm curious to play with that phenomenon in a test

Re: Consuming WSDL file

2013-10-04 Thread Christian Müller
I assume you have to provide a web service to your clients and you have to store the requests in a database? If so, I recommend to have a look at the CXF component [1] for providing the web service. For storing data in a database, please have a look at the SQL component [2]. Having a look at [3] sh

Re: Camel FOP using which fop version

2013-10-04 Thread Christian Müller
Camel 2.12.1 is using fop 1.0: camel-fop cmueller$ mvn dependency:tree [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Camel :: FOP 2.12.1 [INFO] -

Re: The Camel Components Poster - PDF - FREE

2013-10-04 Thread Christian Müller
st their permission that you can publish/sell this poster [2] after the mentioned update. [1] http://www.apache.org/foundation/marks/#guidelines [2] http://gliesian.com/camel/TheCamelComponentPosterWithWatermark.pdf Best, Christian Müller V.P. Apache Camel On Fri, Oct 4, 2013 at 12:22 AM, gliesian

Re: Camel FOP using which fop version

2013-10-05 Thread Christian Müller
://www.linkedin.com/pub/christian-mueller/11/551/642 On Fri, Oct 4, 2013 at 9:16 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Camel 2.12.1 is using fop 1.0: > > camel-fop cmueller$ mvn dependency:tree > [INFO] Scanning for projects..

Re: Consumer template get stuck when calling receive() with SMPP uri and getting a negative response.

2013-10-05 Thread Christian Müller
I think we can improve this. I will have a look at it... But I'm wondering why do you use a consumer template to receive the short messages and not a normal route like: from("smpp://...") .to("..."); Best, Christian - Software Integration Specialist Apache Camel committer:

Re: Revoked contribution rights.

2013-10-05 Thread Christian Müller
Infrastructure made some changes on the default because of a spam issue in other Apache WIKI's. It looks like you didn't had the camel-contributor role in the past... However, I granted the camel-contributor role to your account. Can you try it again (you have to log out and log in again)? Best,

Re: Revoked contribution rights.

2013-10-05 Thread Christian Müller
Hi Robert! I granted the karma to the account 'gliesian' the last time. Now I figured out you have/use two accounts. I granted the karma now to the account " rob...@gliesian.com". Please try again (and mention you account name the next time, if you have problems again). Best, Christian -

Re: The Camel Components Poster - PDF - FREE

2013-10-06 Thread Christian Müller
/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Sun, Oct 6, 2013 at 7:23 PM, Christian Müller < christian.muel...@gmail.com> wrote: > @Shane, trademarks@, private@: We handle this issue. Please ig

Re: Default Type Conversions

2013-10-08 Thread Christian Müller
Hi Tom! Find my comments inline. Best, Christian On Tue, Oct 8, 2013 at 7:19 PM, Tom Ellis wrote: > Hi, > > Is there some documentation around the strategy Camel takes when deciding > what to convert the body of an exchange to before sending to an endpoint? > Camel will not convert the body

Re: return binary image data in camel/restlet environment

2013-10-08 Thread Christian Müller
Willem committed it. You have to use Camel 2.13-SNAPSHOT. Best, Christian Am 08.10.2013 16:36 schrieb "Zemin Hu" : > Thanks Willem. I will try the work around. How do I know the fix is ready? > Do > I need to upgrade to latest Camel version in order to get fix? > > > > -- > View this message in c

Re: Consume files periodically or on demand

2013-10-09 Thread Christian Müller
I suggest to use the ConsumerTemplete which can read the file and send it afterwards to a direct consumer which ia also used by the existing route. Best, Christian Am 09.10.2013 14:50 schrieb "christoffer" : > Hi, > > I have a route which uses the file:// component to consume files from a > direc

Re: Camel JMS redelivery blocks normal processing

2013-10-09 Thread Christian Müller
We use the Delay and Schedule Message Delivery [1] feature from ActiveMQ. You will find the link [2] useful. [1] http://activemq.apache.org/delay-and-schedule-message-delivery.html [2] camel.465427.n5.nabble.com/Missing-feature-to-handle-errors-in-a-route-which-reads-from-an-activemq-destination-t

Re: Throttling by client ID?

2013-10-09 Thread Christian Müller
The solution could be something like: from("...") .throttle(100, header("foo")) .to("..."); header("foo") is only an example for an expression... Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: http

Re: Moving from Spring 3.0.6 to 3.2.3 results in exception - Cannot find any Camel Context from the Application Context.

2013-10-11 Thread Christian Müller
Camel 2.11 also supports Spring 3.2.x. So it SHOULD work. Can you assemble a small sample project which shows the issue? Than it's much easier for us to dig into the issue. Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member

Re: Help with Dynamic route

2013-10-11 Thread Christian Müller
I think you are looking for the dynamic router pattern. Have a look at [1]. [1] http://camel.apache.org/dynamic-router.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC M

Re: Email Attachments - Adding to Exchange Attachments

2013-10-12 Thread Christian Müller
You have to remove the ${ESB_HOME}/data directory, if you do this change afterwards. It's the case for a few config changes after you already started and stopped the ESB. Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member |

Re: Apache Camel multithread processing

2013-10-12 Thread Christian Müller
You should explain your requirements in more detail. Or have a look at the following sites to answer the question yourself: http://camel.apache.org/multicast.html http://camel.apache.org/seda.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel |

Re: Java DSL: do I have to have a child for a split()?

2013-10-12 Thread Christian Müller
Your route is the following (I formatted it a bit): choice() .when(...).bean(...) .split().method(splitBean, "splitMethod") .endChoice() .otherwise() .bean(...); When your write "I just want the results of the split() to be forwarded down the route", how do you do this without a proc

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2013-10-13 Thread Christian Müller
No, I don't think so. I'm not aware of any related JIRA. Feel free to raise one. Best, Christian Am 13.10.2013 15:27 schrieb "abdelghani.tag" : > Hi Christian > Im having same problem with with camel 2.12.1, Is bellow issue fixed? > Regards > > > > -- > View this message in context: > http://ca

  1   2   3   4   5   6   7   8   9   10   >