Re: Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Christian Müller
Why do you use XA? Because you only use one transactional resource, a normal transaction is sufficient. I recommend to have a look at [1]. And can you use Camel 2.10.x? I will upgrade the examples to the latest Camel version in the next day... [1]

Re: Splitter, Aggregation and Timeouts

2013-03-29 Thread Christian Müller
No answer for your question, but you are looking for multicast() and not for split(). Sent from a mobile device Am 29.03.2013 15:25 schrieb dtauzell d...@tauzell.org: I have a use case like: 1. Message comes in 2. Send modified version of message to one of many recipients 3. Aggregate the

Re: Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Christian Müller
Will try it in the next days... Sent from a mobile device Am 29.03.2013 16:08 schrieb Fladnag flad...@zerezo.com: And can you use Camel 2.10.x? I will upgrade the examples to the latest Camel version in the next day... Same issue with this environment : SMX 4.5.1 Camel 2.10.4 AMQ 5.7.0

Re: Processor can't receive exchange !

2013-03-28 Thread Christian Müller
Try exchange.getIn() instead of exchange.getOut(). Sent from a mobile device Am 28.03.2013 20:23 schrieb takidean takide...@hotmail.fr: hi everything goes well with my jdbc connection and my routes but i have to receive data from my exchange i don't know where is the problem with my

Re: CamelSpringJUnit4ClassRunner vs CamelSpringTestSupport

2013-03-27 Thread Christian Müller
This is not possible. We should update the documentation. It's miss leading... Best, Christian On Wed, Mar 20, 2013 at 9:50 AM, scottj scott.james...@outlook.com wrote: hello, I would like to use the CamelSpringJUnit4ClassRunner annotations on my tests. I've read the instructions on

Re: Links to empty pages on website?

2013-03-27 Thread Christian Müller
Yeah, but it works in Confluence. Something went wrong with our Confluence export... Sent from a mobile device Am 27.03.2013 08:15 schrieb AlanFoster a...@alanfoster.me: I wonder if confluence allows link checking at all? It would be be nice to have an automated process of checking dead links

Re: Clearing ThreadLocal when exchange completes

2013-03-27 Thread Christian Müller
Isn't it called in a separate thread, isn't it? Sent from a mobile device Am 27.03.2013 08:14 schrieb Claus Ibsen claus.ib...@gmail.com: You can use this method on the Exchange

Re: JASYPT String Decryption

2013-03-27 Thread Christian Müller
http://www.jasypt.org Sent from a mobile device Am 27.03.2013 22:48 schrieb ganeshkumar.kanaga...@barclays.com: Hi, Please advise if anyone know how to decrypt the jasyped value inside a class ? We are planning to encrypt the password values using jasypt and store in a Databases. We want

Re: got FatalFallbackErrorHandler when trying handing error with bean

2013-03-26 Thread Christian Müller
I think your appErrorHandler is throwing an exception. Can you check this!? Sent from a mobile device Am 26.03.2013 09:08 schrieb sakti 54k...@gmail.com: i'm trying to catch org.apache.camel.ExchangeTimedOutException using bean, here the spring dsl onException

Re: Integrating 2 deployable units (containing camel routes)

2013-03-26 Thread Christian Müller
We use the vm or direct-vm component for inter bundle communication. It should be the fastest integration. But this integration is not so loosely coupled as JMS which can persist the message is the consumer is not up and running... Because of an issue in the vm component we fixed recently [1],

Re: Upload file - How to pass InputStream to Camel's route

2013-03-26 Thread Christian Müller
Hi Romain! With @GET you cannot send content with your request. This is possible with @POST. Best, Christian On Tue, Mar 26, 2013 at 9:14 AM, jamalissimo roman.janu...@gmail.comwrote: Hi Raul, thanks for quick answer. This looks easy when you are using @GET, but I am sending @POST request.

Re: Links to empty pages on website?

2013-03-26 Thread Christian Müller
Ok, it's fixed now. You may have to delete your browser cache... Best, Christian On Mon, Mar 25, 2013 at 11:23 PM, Christian Müller christian.muel...@gmail.com wrote: Thanks for reporting. I opened a JIRA to track this [1]. It has something to do with our WIKI export. In the meantime, you

Re: SMPP stop route problem

2013-03-26 Thread Christian Müller
In the SMPP specification, the error code '0x00FF' (which is 255) is documented as Unknow error. It doesn't look wrong to me. If you want to return another error code, simply catch the exception in your route and rethrow an org.jsmpp.extra.ProcessRequestException (with the error code you want)

Re: Smpp stop route recommendations

2013-03-26 Thread Christian Müller
Please find my comments inline in your mail. Best, Christian On Fri, Mar 22, 2013 at 11:32 AM, fclose f...@closebase.com wrote: Hello, I have configured a route listening for incoming sms messages. We did a mini load test with 2 messages / seconds. this works perfectly but we have a

Re: Route starts when deployed with a cxf endpoint

2013-03-26 Thread Christian Müller
This route doesn't has an autoStart configuration which means it's started by default. Do I miss something? Best, Christian On Mon, Mar 25, 2013 at 8:34 AM, dkum003 dhananjay.ku...@amadeus.comwrote: Hello Christian, The camel version is 2.10.2 and the route is -

Re: Performance puzzle. Slow splitter on object array?

2013-03-26 Thread Christian Müller
Can you share your splitter definition? Best, Christian On Tue, Mar 26, 2013 at 8:31 PM, MarkD markjohndo...@googlemail.com wrote: Hi all, We have a very strange performace issue that we think we have narrowed down to a splitter using the hawtio tool (Which is awesome by the way). In the

Re: Camel velocity template internationalization

2013-03-26 Thread Christian Müller
Camel doesn't care about the locale. I suggest to have a look how Velocity/Freemarker/... lookup the locale. Than we can see how we can support it (or whether we already support it). Best, Christian On Tue, Mar 26, 2013 at 7:44 PM, paramjyotsingh paramjyotsi...@gmail.comwrote: Claus, Thanks

Re: from databaes to other

2013-03-26 Thread Christian Müller
Because you do not provide the proper insert statements. Like INSERT INTO FOO (...) VALUES (...). Best, Christian On Tue, Mar 26, 2013 at 2:07 PM, takidean takide...@hotmail.fr wrote: hi everybody when i use to send rows from database to an other it don't work this is what i did: choice

Re: Integrating 2 deployable units (containing camel routes)

2013-03-26 Thread Christian Müller
The direct-vm components is based on the direct component and it's a synchronous invocation. The vm component is based on the seda component and it's an asynchronous invocation. We may should update or WIKI page about using this components in OSGI world. I do not have any experience using WAR

Re: oracle.jms.AQjmsFactory and javax.sql.DataSource

2013-03-26 Thread Christian Müller
In BasicDataSource you can configure whether you will get the underlying connection or a proxy ( accessToUnderlyingConnectionAllowed) . Getting the proxy is the default configuration. May this solves your issue. Best, Christian Sent from a mobile device Am 19.03.2013 15:25 schrieb jinaLu

Re: Links to empty pages on website?

2013-03-25 Thread Christian Müller
Which link do you talking about? Best, Christian Sent from a mobile device Am 25.03.2013 15:33 schrieb James Green james.mk.gr...@gmail.com: Here I am suggesting to my boss that if he wants event broadcast and monitoring systems he should seriously check out camel, and each of the news items

Re: Cannot write null body to file error !

2013-03-25 Thread Christian Müller
http://camel.apache.org/cronscheduledroutepolicy.html is what you are looking for... Sent from a mobile device Am 25.03.2013 21:04 schrieb bru1900 rarer...@gmail.com: Am sorry, that worked just as i was looking for ! Thank you so much Christain and Marco. On Mon, Mar 25, 2013 at 3:57 PM,

Re: Links to empty pages on website?

2013-03-25 Thread Christian Müller
for the inconvenience, Christian On Mon, Mar 25, 2013 at 10:31 PM, Larry Meadors larry.mead...@gmail.comwrote: Every one in the news section. Larry On Mon, Mar 25, 2013 at 3:29 PM, Christian Müller christian.muel...@gmail.com wrote: Which link do you talking about? Best, Christian Sent

Re: How to gave version to camel context file ?

2013-03-22 Thread Christian Müller
See the Spring deployer section at https://cwiki.apache.org/KARAF/44-deployer.html You have to add: manifest Bundle-Version: 1.0.0/manifest Another (easier) solution is to rename your file from camel-context.xml to camel-context-1.0.0.xml. Best, Christian On Fri, Mar 22, 2013 at 4:57 AM,

Re: Permanent Suspension of Routes

2013-03-22 Thread Christian Müller
Yeah, that sounds good... Best, Christian On Fri, Mar 22, 2013 at 7:55 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, Mar 21, 2013 at 2:20 PM, sushil_vsk5 sushil_v...@yahoo.co.in wrote: Hello: I have been able to successfully suspend and resume routes using the relevant JMX

Re: bean dont work

2013-03-22 Thread Christian Müller
User post the question twice and got an answer in the other thread. On Wed, Mar 20, 2013 at 2:55 PM, takidean takide...@hotmail.fr wrote: i use to extract some information from an xml file to insert them into a jdbc data base this is what i did and it doesn't work

Re: Camel component for Google-Drive - How about creating it ?

2013-03-22 Thread Christian Müller
Sounds useful. We have already similar support for Amazon's cloud service S3. Is there a SDK available (from Google)? Did you checked the license? Best, Christian On Fri, Mar 22, 2013 at 12:18 PM, Gnanaguru S gnanaguru.sattanat...@wipro.com wrote: Hello, I am researching on the technical

Re: Cannot read inbound mesage from CXF webservice

2013-03-22 Thread Christian Müller
Hi Heiko! Good to know you could solve the issue by yourself. If you want to check whether your exchange already has an out message, you can call: exchange.hasOut(); Best, Christian On Fri, Mar 22, 2013 at 12:29 PM, Heiko heiko.jungh...@ciber.com wrote: Hi guys, It´s me again. I finally

Re: smpp datacoding - alphabet at endpoint level not taken into account

2013-03-22 Thread Christian Müller
Hello Fred! Please find my comments inline. Best, Christian On Fri, Mar 1, 2013 at 12:12 PM, fclose f...@closebase.com wrote: Hello, This, week I have been struggling with the sending of sms with special (french) characters. On the initial tests I did I was setting the dataCoding /

Re: Came Hibernate SaveorUpdate Option

2013-03-22 Thread Christian Müller
We are calling: session.persist(value); You can check the code by yourself if you want: http://code.google.com/a/apache-extras.org/p/camel-extra/source/browse/trunk/components/camel-hibernate/src/main/java/org/apacheextras/camel/component/hibernate/HibernateProducer.java Best, Christian On Tue,

Re: Camel component for Google-Drive - How about creating it ?

2013-03-22 Thread Christian Müller
May a look into the camel-aws components code (S3) is also useful for you: https://svn.apache.org/repos/asf/camel/trunk/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/ Best, Christian On Fri, Mar 22, 2013 at 1:49 PM, Gnanaguru S gnanaguru.sattanat...@wipro.com wrote:

Re: Cannot write null body to file error !

2013-03-22 Thread Christian Müller
Your Quartz URI is not valid. You can read more about it at [1]. I think you are looking for the cron scheduled route policy [2]. [1] http://camel.apache.org/quartz.html [2] http://camel.apache.org/cronscheduledroutepolicy.html Best, Christian On Fri, Mar 22, 2013 at 8:45 PM, bru1900

Re: Cannot write null body to file error !

2013-03-22 Thread Christian Müller
By using quartz://src/data it looks like you want route messages from the src/data folder. But in this case src is the timer group name and data is the timer name. And the quartz component sends an empty message (with a null body). That's what the file component complians. If you add something

Re: Cannot write null body to file error !

2013-03-22 Thread Christian Müller
route id=simple from uri=quartz://src/data?cron=0+16+*+*+*+?/ log message=Writing message to Folder/ setBodyconstantCamel rocks/constant/setBody to uri=file:C:\Data\FuseJars\messages/ /route Best, Christian On Fri, Mar 22, 2013 at 10:15 PM, bru1900 rarer...@gmail.com wrote: Am sorry

Re: Stream Caching 101

2013-03-21 Thread Christian Müller
We documented this feature here: http://camel.apache.org/stream-caching.html Best, Christian On Thu, Mar 21, 2013 at 5:23 PM, rouble r.ou...@gmail.com wrote: Camel-o-philes, Can someone give me a quick understanding of what it means if I enable stream caching? Does it mean that in a single

Re: Cannot read inbound mesage from CXF webservice

2013-03-21 Thread Christian Müller
You should not call: exchange.getOut() in setTemisWebServiceTokenToHeader. This will create an empty out message which is afterwards send to the next processor... Best, Christian On Thu, Mar 21, 2013 at 2:15 PM, Heiko heiko.jungh...@ciber.com wrote: Hi, I have a problem while calling a

Re: Permanent Suspension of Routes

2013-03-21 Thread Christian Müller
Camel doesn't persist the state of a route right now. You can only configure whether a route should be start if the context is started or not. Best, Christian On Thu, Mar 21, 2013 at 2:20 PM, sushil_vsk5 sushil_v...@yahoo.co.inwrote: Hello: I have been able to successfully suspend and resume

Re: Route starts when deployed with a cxf endpoint

2013-03-21 Thread Christian Müller
Can you share your route with us? And which version of Camel do you use? Best, Christian On Thu, Mar 21, 2013 at 8:47 AM, dkum003 dhananjay.ku...@amadeus.comwrote: Hello, I have a simple route which pushes the output to a web service endpoint.Hence my to endpoint is a cxf endpoint. I have

Re: camel smpp integration

2013-03-21 Thread Christian Müller
You can find the camel-smpp tests at: https://svn.apache.org/repos/asf/camel/trunk/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/ Here you will see you should use: smpp://smppclient1@localhost

Re: Quartz and jdbc

2013-03-20 Thread Christian Müller
I recommend to use the CamelTestSupport base class for your unit tests. Have a look at the following tests: https://svn.apache.org/repos/asf/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/ Best, Christian On Thu, Mar 14, 2013 at 10:16 AM, uzairkamal

Re: dynamic properties

2013-03-20 Thread Christian Müller
I think you are looking for a template engine like [1], [2] or [3]. [1] http://camel.apache.org/freemarker.html [2] http://camel.apache.org/velocity.html [3] http://camel.apache.org/stringtemplate.html Best, Christian On Tue, Mar 19, 2013 at 7:29 AM, jinaLu jina...@yahoo.com wrote: I use

Re: Unexpected behavior of LoggingErrorHandler in Camel

2013-03-20 Thread Christian Müller
Use the defaultErrorHandler if you want handle the exception (not rethrowing the exception). Using the following test, the exception is logged at level WARN (using Camel 2.11-SNAPSHOT): package org.apache.camel.builder; import org.apache.camel.ContextTestSupport; import

Re: Regarding File Transfer

2013-03-18 Thread Christian Müller
e.g. via FTP... http://camel.apache.org/ftp2.html Best, Christian On Mon, Mar 18, 2013 at 1:51 PM, Krishna.aradhya krishna.arad...@cognizant.com wrote: Hi, How can i send a file from my local Machine to another machine using Camel? -- View this message in

Re: Routing an ObjectMessage in ActiveMQ

2013-03-18 Thread Christian Müller
Try stream caching as described here: http://camel.apache.org/stream-caching.html Best, Christian On Mon, Mar 18, 2013 at 4:15 PM, yodamad mvincent...@gmail.com wrote: Hi, I'm facing the same problem using camel 2.8 in servicemix 4.4.1. Does anyone find a solution for this issue ? Thanks

Re: ClassNotFoundException: org.apache.xalan.xsltc.trax.DOM2SAX

2013-03-18 Thread Christian Müller
May be there is a missing Import-Package org.apache.xalan.xsltc.trax in camel-cxf. Can you provide a unit test which show this issue? Best, Christian On Wed, Mar 13, 2013 at 1:36 PM, Smith-John mich...@gmail.com wrote: java.lang.ClassNotFoundException: org.apache.xalan.xsltc.trax.DOM2SAX

Re: CDI in 2.11

2013-03-18 Thread Christian Müller
describes CDI for 2.10. Skickat från min iPhone 17 mar 2013 kl. 22:37 skrev Christian Müller christian.muel...@gmail.com : You should find all information here: http://camel.apache.org/cdi.html About outstanding Camel CDI issues, you should query our issue tracker JIRA... Best

Re: CDI in 2.11

2013-03-17 Thread Christian Müller
Query JIRA: https://issues.apache.org/jira/issues/?jql=project%20%3D%20CAMEL%20AND%20fixVersion%20%3D%20%222.11.0%22%20AND%20component%20%3D%20camel-cdi%20AND%20status%20in%20%28Resolved%2C%20Closed%29 Best, Christian On Sun, Mar 17, 2013 at 1:19 PM, helander leh...@gmail.com wrote: The page

Re: CDI in 2.11

2013-03-17 Thread Christian Müller
You should find all information here: http://camel.apache.org/cdi.html About outstanding Camel CDI issues, you should query our issue tracker JIRA... Best, Christian On Sun, Mar 17, 2013 at 6:37 PM, helander leh...@gmail.com wrote: Thanks Christian, I guess that there is no documentation

Re: doTry docatch slow down the execution

2013-03-15 Thread Christian Müller
Have a look at the following tests: https://github.com/muellerc/apachecon-na-2013/tree/master/file-component/src/test/java/org/apache/cmueller/camel/apachecon/na2013 The are performance comparison between the different possibilities... Best, Christian On Thu, Mar 14, 2013 at 12:53 AM, Raul

Re: Transaction spanning multiple threads query

2013-03-15 Thread Christian Müller
Short answer: no Camel leverage on the Spring Platform Transaction Manager which doesn't support this. Sent from a mobile device Am 15.03.2013 21:38 schrieb gilboy josephoto...@gmail.com: Hi I have 2 routes. The first route calls a DAO method which makes a change to an Oracle database table.

Re: How to add HTTP Basic and Digest Auth on CXF component

2013-03-15 Thread Christian Müller
The cxf component supports basic auth (we use it in one of our project). Google will help you to find a code snippet... Sent from a mobile device Am 15.03.2013 23:27 schrieb santhosh ramukhsohtna...@gmail.com: If you dont get it sorted out with a CXF client,the simplest way would be send the

Re: from webservice to queue

2013-03-15 Thread Christian Müller
The cxf component supports also the jms protocol out of the box... Sent from a mobile device Am 15.03.2013 23:40 schrieb santhosh ramukhsohtna...@gmail.com: If you are trying to do CXF proxy .ie. receive all request to a CXF webservice by setting up a proxy endpoint this will work beans

Re: Camel Blueprint Test Error

2013-03-12 Thread Christian Müller
Can you share your route with us? Which version do you use? Sent from a mobile device Am 12.03.2013 11:00 schrieb Joe San codeintheo...@gmail.com: Hi all, I'm using the Camel Blueprint Test Support to test my routes. I have the following configured for my active mq definition bean

Re: New Contribution: Component XML Digital Signature

2013-03-12 Thread Christian Müller
Hello Franz! Thanks for this contribution. Could you please have a look at the Camel Crypto data format [1] and component [2] and summarize what the addition would be? Does it make sense to add this into the existing data format/component? [1] http://camel.apache.org/crypto.html [2]

Re: ClassNotFoundException: org.apache.xalan.xsltc.trax.DOM2SAX

2013-03-12 Thread Christian Müller
Can you provide the full stack trace (to see whether the exception comes from camel-core or not)? camel-core has an optional import of this package: org.apache.xalan.xsltc.trax;resolution:=optional, And if you have installed it, it should work... Best, Christian On Tue, Mar 5, 2013 at 4:19 PM,

Re: Unmarshall CSV to MapString, MapString, String

2013-03-11 Thread Christian Müller
Did you checked the csv, beanio or bindy component? Instead of a converter, you can also implement a Processor or bean. Best, Christian On Mon, Mar 11, 2013 at 9:52 AM, Joe San codeintheo...@gmail.com wrote: Camel Users, Is there a way to convert the body to a Map of a Map without needing to

Re: CXF and callbacks

2013-03-09 Thread Christian Müller
What kind of call back? What do you want to do in this call back? Can you explain it in more detail please... Sent from a mobile device Am 09.03.2013 09:20 schrieb Smith-John mich...@gmail.com: Hi, does CXF support callbacks? My route begins with from(cxf:

Re: Reply messages from aggregator

2013-03-09 Thread Christian Müller
Can you explain in more detail what you want to do? I didn't understand your requirement... One question: Your aggregation object implements Predicate *AND* AggregationStrategy? By looking a your example, your direct endpoint receives (String/Byte array/...) messages and convert it into a JAXB

Re: Camel mina : data truncated to 1024 bytes

2013-03-08 Thread Christian Müller
Good to know you could figure it out by yourself. Best, Christian Sent from a mobile device Am 07.03.2013 23:44 schrieb nil icicn...@hotmail.com: We finally find the problem which was in our ProtocolEncoder implementation. In fact, the doDecode was reading just 1024 first bytes in the

Re: Routing REST request to external URI

2013-03-08 Thread Christian Müller
Yes, checkout the jetty and servlet component. Sent from a mobile device Am 08.03.2013 13:46 schrieb ramrubio ramru...@yahoo.com: Does Camel support routing an incoming REST request to an external RESTful service for all http operations. For example, Client Submits REST request to server

Re: dynamic URI parameter in from URI?

2013-03-08 Thread Christian Müller
You have to create a new route at runtime to archive this, e.g. in a processor: CamelContext context = exchange.getContext(); context.addRoutes(new RouteBuilder() { public void configure() throws Exception { from() .to(); } }); Best, Christian Sent from a mobile

Re: How to get response from activeMQ when a message is put on queue?

2013-03-07 Thread Christian Müller
Try route id=receiver1 from uri=mina:tcp//localhost:6000?textline=falseamp;sync=trueamp;codec=#myCodec / inOnly uri=jms:myQueue /route Best, Christian On Thu, Mar 7, 2013 at 3:42 PM, jrpedersen jrpeder...@gmail.com wrote: Hi, I am trying to use Camel (mina, jms) where I receive

Re: AWS S3 Request/Reply

2013-03-07 Thread Christian Müller
Hello Daniel, please find my comments inline. Best, Christian On Tue, Mar 5, 2013 at 4:52 PM, json99 d...@vistit.se wrote: Hi, I'm trying to build a cloud enabled Camel client. To be able to transfer large files (65k) I first create a AWS S3 file with a UUID as filename. To be able to

Re: Camel multiple (nested) routes in one context

2013-03-07 Thread Christian Müller
Can you try Camel 2.10.4? http://camel.apache.org/download.html Best, Christian On Wed, Mar 6, 2013 at 10:15 AM, ddewaele ddewa...@gmail.com wrote: Hi, We're using 2.10.1. Any idea about the logging (don't know if this is related) ? The fact that it added complex-route instead of

Re: camel-smpp optional param issue ?

2013-03-07 Thread Christian Müller
Update: CAMEL-6116 is fixed. Will work on CAMEL-6121 in the next days... Best, Christian On Wed, Mar 6, 2013 at 5:07 PM, Christian Müller christian.muel...@gmail.com wrote: Will have look at the patch later today... Sent from a mobile device Am 06.03.2013 05:35 schrieb anuragg anurag.itbh

Re: Camel mina : data truncated to 1024 bytes

2013-03-07 Thread Christian Müller
Which codec factory do you use (you didn't show us the configuration)? TextLineCodecFactory? - encoderMaxLineLength/decoderMaxLineLength are applied. ObjectSerializationCodecFactory? - encoderMaxLineLength/decoderMaxLineLength are *NOT* applied. A custom? Best, Christian On Thu, Mar 7, 2013 at

Re: Camel mina : data truncated to 1024 bytes

2013-03-07 Thread Christian Müller
Did you already checked this test: https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaVMCustomCodecTest.java And there are much more:

Re: camel-smpp optional param issue ?

2013-03-06 Thread Christian Müller
Will have look at the patch later today... Sent from a mobile device Am 06.03.2013 05:35 schrieb anuragg anurag.itbh...@gmail.com: Hi , Attached the patch which includes support for optional params and added the test case . The optional params have to be set in exchange headers and value

Re: Sending a custom HTTP Response in case of exception

2013-03-05 Thread Christian Müller
In case something went wrong you want to return an HTTP status code not equal to 200 and custom message, right? We do this by using onException... What did you tried? Sent from a mobile device Am 05.03.2013 11:06 schrieb Alban Joly alban.j...@groupemoniteur.fr: Hi all, I am trying to send to

Re: Redundant Camel Applications

2013-03-05 Thread Christian Müller
Apache Karaf / ServiceMix offers this out of the box. Sent from a mobile device Am 05.03.2013 06:37 schrieb Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com: Hello All, I am using Camel primarily for distributing Market Data from the quickfixj component. If the instance of camel goes

Re: Multiple file logging

2013-03-05 Thread Christian Müller
You have to configure it in SMX. In our log EIP [1] you can configure the used log name. And in your org.ops4j.pax.logging.cfg config file you can configure in which file which appender should log. [1] http://camel.apache.org/logeip.html Best, Christian On Tue, Mar 5, 2013 at 3:56 PM,

Re: camel-smpp optional param issue ?

2013-03-05 Thread Christian Müller
We plan to cut Camel 2.11.0 soon - may be next week... If you can provide a fix with unit tests in the next days, I think we can make sure it will go into 2.11.0. Because I'm in vacation until beginning of next week, I cannot spend so much time on this issue. If it miss 2.11.0, it will take 6 - 8

Re: How to pass decrypted value in from tag

2013-03-04 Thread Christian Müller
I'm in vacation and do not have access to our code. Will be back in one week... Sent from a mobile device Am 04.03.2013 00:56 schrieb sarfaraj sarfarajsay...@gmail.com: How do I used/access Java code in from tag. Any example please. I am not able to proceed further /Sarfaraj -- View

Re: Dependencies for Camel Core 2.10

2013-03-04 Thread Christian Müller
The issues@ mailing list is where all our JIRA notifications are posted to. You cannot send messages to this list. And the users@ list is the right one. Camel camel-core 2.11-SNAPSHOT has the following dependencies (the same for 2.10.x): [INFO] org.apache.camel:camel-core:bundle:2.11-SNAPSHOT

Re: ClassNotFoundException: org.apache.xalan.xsltc.trax.DOM2SAX

2013-03-04 Thread Christian Müller
You didn't tell us which version of Camel do you use. You didn't tell us how your route looks like. You didn't tell us which Xalan bundle do you added. You didn't tell us in which runtime do you hit this issue. We are not Guru's. ;-) I suggest to read [1] first. [1]

Re: Opposite of split

2013-03-04 Thread Christian Müller
Have a look into this project: https://github.com/muellerc/apachecon-na-2013/tree/master/jms-component Sent from a mobile device Am 04.03.2013 11:36 schrieb jeff jflebesc...@gmail.com: Thks Claus for the answer, but I have not found the simplest way to do a simple:

Re: Opposite of split

2013-03-04 Thread Christian Müller
Sorry, I mean this one: https://github.com/muellerc/apachecon-na-2013/tree/master/file-component Sent from a mobile device Am 04.03.2013 22:16 schrieb Christian Müller christian.muel...@gmail.com : Have a look into this project: https://github.com/muellerc/apachecon-na-2013/tree/master/jms

Re: camel-smpp optional param issue ?

2013-03-03 Thread Christian Müller
It's not supported right now, but it should simple to add. Feel free to log a JIRA so we can start working on it. Best, Christian Sent from a mobile device Am 02.03.2013 10:20 schrieb anuragg anurag.itbh...@gmail.com: I am using camel-smpp version 2.10.3 . It looks like while creation of

Re: How to pass decrypted value in from tag

2013-03-01 Thread Christian Müller
We do this also with the Spring DSL by using Springs expression language. Sent from a mobile device Am 01.03.2013 10:58 schrieb Raul Kripalani r...@evosent.com: We support Jasypt [1] for encrypting/decrypting parameters out-of-the-box. Is that something you could use? Otherwise, if you

Re: camel processor in InOut to send 2 replies

2013-02-28 Thread Christian Müller
Will the following work for you (using Java DSL)? from(jms:queue:data) .setHeader(id, constant(1)) .multicast() .inOnly(jms:queue:first, jms:queue:second); from(jms:queue:first) .to(bean:myMessageProcessor) .to(jms:queue:finished); from(jms:queue:second)

Re: Is there anyway to configure the JPA component to get it's query (or query parameters) from an inbound message?

2013-02-28 Thread Christian Müller
Just send the details here if somebody is looking for the same in some month... Thanks in advance, Christian On Wed, Feb 27, 2013 at 6:23 PM, Chris Wolf cwolf.a...@gmail.com wrote: I figured out how to do it. If anyone is interested, I can supply details. On Wed, Feb 27, 2013 at 10:54 AM,

Re: cxf response

2013-02-28 Thread Christian Müller
Could you have a look at [1]. May be it will help. This is a working example... However, you should be able to simplify your route: from(cxf:cxfEndpoint?wsdlURL=foodataFormat=POJO) .process(myProcessor) .to(bean:myBean); Is your object example.ExampleResponse generated by the CXF maven

Re: Issue Replacing a component with Mock in Camel Context

2013-02-28 Thread Christian Müller
First of all, you should use from(direct:eventMessageList).routeId(PseudoEventQueue) instead of from(direct:eventMessageList).id(PseudoEventQueue) And in your test method, you can do context.getRouteDefinition(PseudoEventQueue).adviceWith(context, new RouteBuilder() { public

Re: Large file processing with Apache Camel

2013-02-28 Thread Christian Müller
You have to make sure your processor is thread safe, because it is shared between all parallel executed threads. Best, Christian On Thu, Feb 28, 2013 at 1:03 PM, cristisor cristisor...@yahoo.com wrote: After digging more into my problem I found that the slow db access was the main issue,

Re: camel-quickfix RequestReplyExample java.io.IOException

2013-02-27 Thread Christian Müller
Thanks Steve! Very appreciated! Best, Christian Sent from a mobile device Am 26.02.2013 17:39 schrieb stevebate svc-nab...@stevebate.net: On Feb 25, 2013, at 2:21 PM, Babak Vahdat [via Camel] ml-node+s465427n5728116...@n5.nabble.com wrote: As I did *not* backport the fix for CAMEL-5861 to

Re: Question on OSGI Bundle ?

2013-02-26 Thread Christian Müller
ServiceMix supports the wrap hander which will wrap the jar on the fly. But this is not the recommended way... osgi:install wrap:mvn:org.apache... And have in mind, adding the OSGI meta data to your jar file is not always everything you need (class loading issues, SPI issues, ...) Sent from a

Re: OSGI axis 1.4 jar ?

2013-02-26 Thread Christian Müller
First, write your bean and make sure it works outside of SMX. Than deploy it into SMX. Make sure you have all the needed package imports... Sent from a mobile device Am 26.02.2013 02:12 schrieb sarfaraj sarfarajsay...@gmail.com: Bouncer, need some time to understand :) -- View this message

RE: Camel smpp special characters for sending sms

2013-02-26 Thread Christian Müller
Can you provide a test case for it? Sent from a mobile device Am 26.02.2013 06:06 schrieb fclose f...@closebase.com: already tried UTF-16BE without success. -- View this message in context:

Re: Issue Replacing a component with Mock in Camel Context

2013-02-26 Thread Christian Müller
This is a good source: http://camel.apache.org/mock.html Sent from a mobile device Am 26.02.2013 12:02 schrieb shyenuganti shyenuga...@gmail.com: Hi , Here is a sample test for my Camel route. I am overriding the camel context to replace a JMS Endpoint with a Mock. And setting the

Re: ClassNotFoundException

2013-02-25 Thread Christian Müller
Which versions of SMX, Spring, Camel, ... do you use? You don't have to wrap the Spring jar because it's already an OSGI bundle... Sent from a mobile device Am 25.02.2013 10:27 schrieb Carl Buxbaum cbuxb...@tradestonesoftware.com : Hi all, I am trying to deploy a Camel route application into

Re: camel-exec in camel blueprint: ExecBinding.* headers read?

2013-02-25 Thread Christian Müller
The WIKI points to the java constants. If you use the XML DSL, you have of course to use the constant value as Claus mentioned. Best, Christian Sent from a mobile device Am 25.02.2013 08:36 schrieb MatteoRedaelli matteo.redae...@gmail.com: Hello It works if you set other header variables

Re: Is it possible to implement Last value queue using Camel?

2013-02-25 Thread Christian Müller
You have to build your own solution on top of what Camel already provides... Best, Christian Sent from a mobile device Am 25.02.2013 08:01 schrieb Paul Gale paul.n.g...@gmail.com: Hi, FYI: I am using ActiveMQ 5.8 with Camel 2.10.3. Is it possible to implement 'last value queue' type

Re: cxf response

2013-02-25 Thread Christian Müller
Do you have problems to implement it? Or for which kind of comments do you looking for? Best, Christian Sent from a mobile device Am 25.02.2013 06:46 schrieb Smith-John mich...@gmail.com: Hi, I have a route that looks like

Re: OSGI axis 1.4 jar ?

2013-02-25 Thread Christian Müller
Did you told us already which version of Camel do you use? I'm asking, because Axis is not supported at Camel since a while. See: http://camel.apache.org/tutorial-axis-camel.html Sent from a mobile device Am 25.02.2013 05:20 schrieb sarfaraj sarfarajsay...@gmail.com: Could someone help ? I

Re: Is it possible to implement Last value queue using Camel?

2013-02-25 Thread Christian Müller
Probably in Camel 3.0 which we will not see in short term. May be end of the year... Sent from a mobile device Am 25.02.2013 19:10 schrieb Paul Gale paul.n.g...@gmail.com: Your use case doesn't fit with the concept of messaging I don't see why as the concept of last value queues originates in

Re: Questions about testing came routes

2013-02-25 Thread Christian Müller
In the createRouteBuilder method you can simply instantiate your own route builder. Sent from a mobile device Am 25.02.2013 14:52 schrieb shyenuganti shyenuga...@gmail.com: I am going through this example in the documentation: http://camel.apache.org/camel-test.html public class FilterTest

Re: SFTP: File operation failed: 550 \: No such file or directory

2013-02-22 Thread Christian Müller
And you use which version of Camel? Sent from a mobile device Am 22.02.2013 08:23 schrieb gerryscat gerrys...@gmail.com: If I login to my sftp site with WinSCP I see the folder /tmp; but when I try to push a file to the folder using (something like)

Re: Camel Message Mapping to XML

2013-02-21 Thread Christian Müller
Use a custom TypeConverter. Sent from a mobile device Am 21.02.2013 02:52 schrieb Joe San codeintheo...@gmail.com: Thanks for the reply! To describe my case more precisely, in my Processor, I get the JAXB object: MyObj obj = exchange.getIn().getBody(MyObj.class) obj has fields getOne,

Re: Make xslt component not to validate dtd's (or use local copy)

2013-02-20 Thread Christian Müller
Thanks for sharing your solution! Sent from a mobile device Am 20.02.2013 07:56 schrieb Dirk Reske dirk.re...@gmx.net: Hi, no, the uriResolver is used to resolve the xslt file only. I've found a way, using a processor, that creates a XMLReader using the CatalogResolver and puts a SAXSource

Re: URI references to Objects in the Registry

2013-02-20 Thread Christian Müller
We will harmonize this with Camel 3.0 [1]. [1] https://issues.apache.org/jira/browse/CAMEL-6076 Best, Christian On Thu, Feb 14, 2013 at 1:38 PM, Scott Cranton sc...@cranton.com wrote: I've just noticed the reference syntax that some components use, but its not clear to me exactly how it

<    1   2   3   4   5   6   7   8   9   10   >