Re: Rest DSL for a rest client?

2014-12-14 Thread Christian Posta
> any samples or docs to show how? > > thanks and regards > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Rest-DSL-for-a-rest-client-tp5760676.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian P

Re: camel-elasticsearch component starts up an instance even though IP specified

2014-06-03 Thread Christian Posta
he ES instance no matter what is specified? > > thanks in advance. Jose. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-elasticsearch-component-starts-up-an-instance-even-though-IP-specified-tp5751825.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Questions regarding Camel file2 component

2014-06-03 Thread Christian Posta
al for this. So I'm very interested whether this is possible with the > file2 component? > > Greetings, > Pascal > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Camel/ActiveMQ/JmsProducer hung

2014-05-16 Thread Christian Posta
rConnection > property to? Is it relative to the value of another property? We are > experiencing > a similar problem. > > Thanks, > > Richard > -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Apollo support in Camel

2014-05-16 Thread Christian Posta
logspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ > > > > > > - > Ben O'Day > IT Consultant -http://consulting-notes.com > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apollo-support-in-Camel-tp5461514p5750965.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Hi I wanna use camel 's embedded in active mq

2014-05-12 Thread Christian Posta
eparately, i want to use embedded activemq of > apapche camel. > > Please help!!! > > Regards, > Komal > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Hi-I-wanna-use-camel-s-embedded-in-active-mq-tp5751012.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: ActiveMQ message not dequeued for a single route with multiple queues

2014-05-12 Thread Christian Posta
> > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ActiveMQ-message-not-dequeued-for-a-single-route-with-multiple-queues-tp5750631p5750968.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Validator in camel route shows strange error message

2014-05-12 Thread Christian Posta
e some > characters before the xml declaration, and the xsd-File is encoded in UTF-8 > without BOM. > > Some ideas? > > Thanks. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Validator-in-camel-route-shows-strange-error-message-tp5751018.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Restricting the duplicate files to be added into idempotent repository irrespective of cacheSize value

2014-05-12 Thread Christian Posta
> -- > View this message in context: > http://camel.465427.n5.nabble.com/Restricting-the-duplicate-files-to-be-added-into-idempotent-repository-irrespective-of-cacheSize-vale-tp5750853p5751022.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian P

Re: Camel-cxf rs client bean

2014-03-31 Thread Christian Posta
> > Any Help is appreciated > > Thanks > Ravi > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-cxf-rs-client-bean-tp5749587.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian

Re: Camel routing based on an xpath value in an XML message.

2014-03-31 Thread Christian Posta
urn the > destination value to a variable then use that to define the to uri? > > Thanks > > Mike > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-routing-based-on-an-xpath-value-in-an-XML-message-tp5749578.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Camel, concurrent consumers, message groups and prefetch size

2014-03-31 Thread Christian Posta
en there are messages available to be > processed, example: when consumer.prefetchSize=1? > > Yes, I have read this page: > https://camel.apache.org/parallel-processing-and-ordering.html but it > didn't answer my questions. > > Thanks, > Paul -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Bean MethodNotFound Exception though it looks correct

2014-02-28 Thread Christian Posta
n.java:909) > ... 32 more > Caused by: org.apache.camel.component.bean.MethodNotFoundException: Method > with name: camel1 not found on bean: com.test.project@14363d8 of type: > com.sun.proxy.$Proxy52 > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Bean-MethodNotFound-Exception-though-it-looks-correct-tp5748110.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: CamelBlueprintTestSupport and URL Handler Service

2014-02-28 Thread Christian Posta
bble.com/CamelBlueprintTestSupport-and-URL-Handler-Service-tp5748113.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: JDBC Connection object in Camel Processor

2014-02-28 Thread Christian Posta
in context: >> http://camel.465427.n5.nabble.com/JDBC-Connection-object-in-Camel-Processor-tp5747896p5748005.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: useOriginalMessage with direct-vm

2014-02-27 Thread Christian Posta
; endpoint.getCamelContext(), false); > // set the from endpoint > newExchange.setFromEndpoint(endpoint); > newExchange.setUnitOfWork(exchange.getUnitOfWork()); // <--- > Update. Copy UOW from original exchange > > return newExchange; > } > > > Thanks, > Karsten -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: sjms component ttl does not seem to work

2014-02-20 Thread Christian Posta
omponent-ttl-does-not-seem-to-work-tp5747604p5747685.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: sjms component ttl does not seem to work

2014-02-20 Thread Christian Posta
Just talked to Scott. This is a bug. I've open a Jira for you here: https://issues.apache.org/jira/browse/CAMEL-7230 Will work on a patch shortly. On Thu, Feb 20, 2014 at 9:14 AM, Christian Posta wrote: > Yah, seems SJMS makes a lot of assumptions for you. > Ignoring persiste

Re: sjms component ttl does not seem to work

2014-02-20 Thread Christian Posta
Yah, seems SJMS makes a lot of assumptions for you. Ignoring persistence/ttl for sending to queues (and defaulting to "PERSISTENT" and no TTL) seems to have been done on purpose. Maybe we can get Scott ES (created the component) to comment? On Thu, Feb 20, 2014 at 8:53 AM, Christian Po

Re: sjms component ttl does not seem to work

2014-02-20 Thread Christian Posta
in context: > http://camel.465427.n5.nabble.com/sjms-component-ttl-does-not-seem-to-work-tp5747604p5747666.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Camel raising Exception for continuous MQTT Publishing

2014-02-17 Thread Christian Posta
iple mqtt streams ?/?? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-raising-Exception-for-continuous-MQTT-Publishing-tp5747286p5747425.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.c

Re: ClassCastException marshalling cxf message

2014-01-09 Thread Christian Posta
9:test > [INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.9:test > [INFO] +- > org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.2.Final:provided > [INFO] +- junit:junit:jar:4.11:test > [INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test > [INFO] \- org.mockito:mockito-all:jar:1.9.0:test > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ClassCastException-marshalling-cxf-message-tp5745777.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Handling ConnectException at route startup

2014-01-09 Thread Christian Posta
-startup-tp5745762p5745787.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Measuring time to make call to custom endpoint

2014-01-08 Thread Christian Posta
imple > Expression language. > > Any suggestions much appreciated > > Thanks > Joe > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Measuring-time-to-make-call-to-custom-endpoint-tp5745754.html > Sent from the Camel - U

Re: File component and include option

2014-01-08 Thread Christian Posta
See here: http://camel.apache.org/file2.html you should use antInclude option... I put together a quick test here: https://github.com/christian-posta/camel-sandbox/blob/master/camel-2.12.1-issues/src/test/java/posta/FileAntPathTest.java#L42 On Wed, Jan 8, 2014 at 4:17 AM, geppo wrote: >

Re: camel jms polling

2014-01-08 Thread Christian Posta
>> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> in bean1 and bean2, i poll messages from different JMS queues. When i >> start the server, polling consumer in bean1 waits (and blocks) for messages >> to be available in jms queue. >> >> Is there any way i can run both routes in parallel? >> -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: camel log

2013-12-09 Thread Christian Posta
essage in context: > http://camel.465427.n5.nabble.com/camel-log-tp5744520p5744521.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Which expression language to use within Camel Splitter to split a CSV file?

2013-12-09 Thread Christian Posta
; View this message in context: > http://camel.465427.n5.nabble.com/Which-expression-language-to-use-within-Camel-Splitter-to-split-a-CSV-file-tp5744503.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Content Based Routing with Camel

2013-12-09 Thread Christian Posta
u wanted to have :) . > > Cheers. > > [1] http://camel.apache.org/json > [2] http://camel.apache.org/simple > > -- > Henryk Konsek > http://henryk-konsek.blogspot.com -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: File component problem on tomcat server

2013-12-09 Thread Christian Posta
mplate, file can move to > "output" folder successfully. > > does i miss something here...? > > Thank you, > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-component-problem-on-tomcat-server-tp5744519.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Passing parameter to Bean

2013-12-04 Thread Christian Posta
property in route using {{xx}}, but not sure how to pass it to > bean. > > Any advice will be appreciated. > > > Thank you > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Passing-parameter-to-Bean-tp5744331.htm

Re: Consuming SOAP web service using Camel

2013-12-04 Thread Christian Posta
04-15] > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1521)[128:org.apache.cxf.bundle:2.4.3.fuse-04-15] > at > org.apache.cxf.workqueue.AutomaticWorkQueueImpl$2.run(AutomaticWorkQueueImpl.java:372)[128:org.apache.cxf.bundle:2

Re: Issues using camel split and aggregator together

2013-12-03 Thread Christian Posta
.completionTimeout(1) > .forceCompletionOnStop() > .parallelProcessing() > .to("bean:" + importProcessor) > .end(); > > } > > Thanks, > > -Marcel > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Issues-using-camel-split-and-aggregator-together-tp5744266.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: java.lang.ArrayIndexOutOfBoundsException when receiving from JMS

2013-12-03 Thread Christian Posta
.JndiTemplate"> > > > value="com.pcbsys.nirvana.nSpace.NirvanaContextFactory" /> > value="nsp://localhost:9000" /> > /> > > > > > > > > > > > > > Two questions: > > 1. How to prevent the exception from happening? > 2. Why does the exception handler not capture the exception? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/java-lang-ArrayIndexOutOfBoundsException-when-receiving-from-JMS-tp5744262.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: New blog post: Writing a Camel Component

2013-11-25 Thread Christian Posta
g-camel-component-camel-static-resource/ > > tjs -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Camel Filter

2013-11-25 Thread Christian Posta
gt; > Question is why Filter is skipping full route? > > Any solution will be helpful. > > Regards, > Sachin > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Filter-tp5743794.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Weblogic JMS

2013-11-25 Thread Christian Posta
connection factory and JNDI registry > using Java DSL. I don't find any examples for the same. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Weblogic-JMS-tp5743788.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Efficient transport for remoting behind firewall ?

2013-11-19 Thread Christian Posta
ould react instantly, so a periodic polling will not suffice > > What is your suggested technique ? Should I go for XMPP ? -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: onCompletion not triggerd in testing

2013-11-19 Thread Christian Posta
3163p5743439.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: question about exception handling behavior

2013-11-19 Thread Christian Posta
27;re trying to do, try using the mock approach I mentioned above. On Tue, Nov 19, 2013 at 7:50 AM, Christian Posta wrote: > Use skipSendToOriginalEndpoint(). I left a comment on your gist. > > Alternatively, since you're just using a mock endpoint, you can just > use

Re: question about exception handling behavior

2013-11-19 Thread Christian Posta
90 >> the onError block is triggered, even when I have a doTry/doCatch in my >> route. >> Is this expected behavior of camel or a bug? >> I want to use an onError block to handle all unhandled exceptions, but not >> the ones I catch myself in the route. How to do t

Re: Splitting up XML into 2 XMLs

2013-11-19 Thread Christian Posta
t; Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Splitting-up-XML-into-2-XMLs-tp5743468p5743517.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Is there interest in a second RabbitMQ component/consumer/endpoint?

2013-11-15 Thread Christian Posta
e classic queues > > I implemented everything mentioned above, but it would be competing with > the existing RabbitMQ components (because, rightfully so, the default > implementation would want to have AMQP semantics) > > So my question is just... is there any interest to have

Re: How to retrieve only the last message from 10 messages passed to queue

2013-11-13 Thread Christian Posta
gt; -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024p5743067.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: onCompletion not triggerd in testing

2013-11-13 Thread Christian Posta
quot;) > protected MockEndpoint resultEndpoint; > > > Could it be that the "mock:output" is not triggering the onCompletion event? > > Thanks, > Cristian. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/onCompletion-not

Re: Camel drop equialent?

2013-11-13 Thread Christian Posta
> more efficient way to use camel I will just not consider this option any > more and probably switch to jmx purge. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-drop-equialent-tp5743182p5743191.html > Sent from the Came

Re: Camel-JPA for single select statements

2013-11-11 Thread Christian Posta
com/Camel-JPA-for-single-select-statements-tp5743045.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: How to retrieve only the last message from 10 messages passed to queue

2013-11-11 Thread Christian Posta
resolve > > Thanks > Raji > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-retrieve-only-the-last-message-from-10-messages-passed-to-queue-tp5743024.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: onCompletion() in apache camel called more than one time

2013-11-11 Thread Christian Posta
in my route builder i have many .from() and .to() > endpoints and only single global onCompletion(). > > So can you please advice me what went wrong in my code / how to tackle this > issue ? > > Thanks. > > > > -- > View this message in context: > http://cam

Re: Send a message in the easiest way

2013-11-08 Thread Christian Posta
xt: > http://camel.465427.n5.nabble.com/Send-a-message-in-the-easiest-way-tp5742890p5742902.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Send a message in the easiest way

2013-11-08 Thread Christian Posta
t is wrong with it? Not sure yet :) You have to invoke the route some how > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Send-a-message-in-the-easiest-way-tp5742890.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: OnCompletion issue in Camel-ActiveMQ

2013-11-08 Thread Christian Posta
Jay, I think you had it mostly correct. I wrote a unit test that shows it working here: https://github.com/christian-posta/camel-sandbox/blob/master/camel-2.12.1-issues/src/test/java/posta/ActiveMQOnCompletionTest.java Maybe you can check that out and align it with your use case and see what

Re: A question about Content Based Filter

2013-11-07 Thread Christian Posta
w this message in context: > http://camel.465427.n5.nabble.com/A-question-about-Content-Based-Filter-tp5742789.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Problem with exception handler (onException) on Camel 2.12.X routes.

2013-11-04 Thread Christian Posta
; at > oracle.ucp.common.UniversalConnectionPoolBase.getInitialConnections(UniversalConnectionPoolBase.java:549) > at > oracle.ucp.common.UniversalConnectionPoolBase.start(UniversalConnectionPoolBase.java:657) > at > oracle.ucp.jdbc.oracle.OracleJDBCConnection

Re: Error in ActiveMQ documentation

2013-11-04 Thread Christian Posta
gt; -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Error-in-ActiveMQ-documentation-tp5742597.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Apache Camel and Synchronized methods in processor

2013-10-31 Thread Christian Posta
; > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-and-Synchronized-methods-in-processor-tp5742401p5742454.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: Waiting for a bean to finish before continuing route

2013-10-30 Thread Christian Posta
tched. > > Any ideas on this? > Thanks > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Waiting-for-a-bean-to-finish-before-continuing-route-tp5742398.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Apache Camel and Synchronized methods in processor

2013-10-30 Thread Christian Posta
without any consequences. I do not know how exaclly Camel works. So can I > add to those methods word 'synchronized', and what problems can I come > across? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-and-Synchronize

Re: Message headers and HTTP

2013-10-29 Thread Christian Posta
; Sent from the Camel - Users mailing list archive at Nabble.com. >> > > > > -- > Bilgin Ibryam > > Apache Camel & Apache OFBiz committer > Blog: ofbizian.com > Twitter: @bibryam <https://twitter.com/bibryam> > > Author of Instant Apache Camel Message Routing > http://www.amazon.com/dp/1783283475 -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: error handler for a seda producer doesn't work?

2013-10-29 Thread Christian Posta
quot;context.setTracing(true)", then the 3rd message > triggers my error handler and its "whatever" log message, along with a > stack trace, etc. > > My understanding is that the "errorHandler(...)" call sets the error > handler for the entire context. So why doesn't it get triggered unless I > turn on tracing? > > I've attached the entire junit-4 test. > > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Request-Reply a second route

2013-10-29 Thread Christian Posta
ccsessfully and resists in activemq:queue:tpms_from_iccs. The 1. Route > gets an timeout exception. > > How can I fix that, any ideas? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Request-Reply-a-second-route-tp5742211.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta

Re: NPE during stop/start route attempts with JMX

2013-10-24 Thread Christian Posta
m/NPE-during-stop-start-route-attempts-with-JMX-tp5742131p5742140.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: NPE during stop/start route attempts with JMX

2013-10-24 Thread Christian Posta
.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:155) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/NPE-during-stop-start-route-attempts-with-JMX-tp5742131.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Best way to consuming same queue from two brokers?

2013-10-24 Thread Christian Posta
s? I feel some more testing coming on... :) Any thought? > Thanks again, -J > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Best-way-to-consuming-same-queue-from-two-brokers-tp5742100p5742134.html > Sent from the Camel - Users maili

Re: JMS Component -Tibco specific option

2013-10-24 Thread Christian Posta
ed hyperlink for an important electronic > communications disclaimer: > http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html > > ======= > > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

[BLOG] JMS-style selectors on Amazon SQS with Apache Camel

2013-10-23 Thread Christian Posta
For those interested, I've put together a blog that shows a new functionality with upcoming Apache Camel 2.13.0. The code with the blog shows using the new json-path component as well... Take a look and interested in any feedback: http://www.christianposta.com/blog/?p=340 -- *Chri

Re: onException not triggered

2013-10-18 Thread Christian Posta
Bilgin, Not sure why moving the onException to global wouldn't work for you. The error handler checks local scope and global scope to find an appropriate exception handler. It works on the latest master here: https://github.com/christian-posta/camel-sandbox/blob/master/camel-snapshot/src

Re: onException not triggered

2013-10-17 Thread Christian Posta
n"); > > from("direct:internal") > > .errorHandler(defaultErrorHandler().maximumRedeliveries(2)) > .throwException(new RuntimeException()) > .to("mock:never"); > } > }; > } > } > >

Re: How to mock a processor

2013-10-17 Thread Christian Posta
) {return "*";} > > my test fails. What am I doing wrong? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-mock-a-processor-tp5741786p5741793.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: camel-rabbitmq : not able to publish messages

2013-10-17 Thread Christian Posta
: > http://camel.465427.n5.nabble.com/camel-rabbitmq-not-able-to-publish-messages-tp5741707p5741774.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: How to mock a processor

2013-10-17 Thread Christian Posta
> > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-mock-a-processor-tp5741786.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: API to determine the last time a route was successfully executed

2013-10-17 Thread Christian Posta
sage in context: > http://camel.465427.n5.nabble.com/API-to-determine-the-last-time-a-route-was-successfully-executed-tp5741686p5741720.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Creating a Component that Calls Another Component

2013-10-16 Thread Christian Posta
r the place and I would like to reduce that. > > *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* > *Author of: Hardcore Java (2003) and Maintainable Java (2012)* > *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39* > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Wire Tap - MQ -> should I 'break' the MQ ?

2013-10-15 Thread Christian Posta
from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Wire Tap - MQ -> should I 'break' the MQ ?

2013-10-15 Thread Christian Posta
; > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Wire-Tap-MQ-should-I-break-the-MQ-tp5741555p5741587.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Camel consuming from apache mq using stomp over websockets

2013-10-15 Thread Christian Posta
t; at > > > org.fusesource.stomp.client.Stomp.connectCallback(Stomp.java:119) > > > at > > > > > > > > > org.apache.camel.component.stomp.StompEndpoint.doStart(StompEndpoint.java:73) > > > > > at > > > org.

Re: How do I load properties with Spring when also using Camel?

2013-10-14 Thread Christian Posta
d and its data type > sensorMap.put(makeStringBuffer.toString(), > "DummyMake"); > sensorMap.put(makeDataTypeStringBuffer.toString(), > "String"); > > // model and and its data type > sensorMap.put(modelStringBuffer.toString(), > "DummyModel"); > > sensorMap.put(modelDataTypeStringBuffer.toString(), "String"); > > // serialNumber and and its data type > sensorMap.put(serialNumberStringBuffer.toString(), > "1234567890"); > > sensorMap.put(serialNumberDataTypeStringBuffer.toString(), "long"); > > // sensorType and its data type > sensorMap.put(sensorTypeStringBuffer.toString(), > "DummyType"); > > sensorMap.put(sensorTypeDataTypeStringBuffer.toString(), "String"); > > // increment for next sensor > sensorNumber++; > } > return sensorMap; > } > > public void setSourceProperties(Properties properties) { > this.sourceProperties = properties; > } > > } > > Btw: Line 17 of SensorGenerator.java as mentioned in the stack trace above > is: > > for (Object key : sourceProperties.keySet()) { > > Here is an example sensor.properties file: > > > > sensor1=DummySensor1:String,SensorModel1:String,1234567890:long,SensorType1:String > > > sensor2=DummySensor2:String,SensorModel2:String,8675309123:long,SensorType2:String > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-do-I-load-properties-with-Spring-when-also-using-Camel-tp5741563.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Camel consuming from apache mq using stomp over websockets

2013-10-14 Thread Christian Posta
at > org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) > ... > > Using ActiveMQ 5.8.0 and Camel 2.12.1. > > Is this possible at all? > > Thanks, > Andrej > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-consuming-from-apache-mq-using-stomp-over-websockets-tp5741476.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Wire Tap - MQ -> should I 'break' the MQ ?

2013-10-14 Thread Christian Posta
existing MQ to configure it for > application > A to interface to WireTap and in turn WireTap to interface with application > B ?Thanks in advance.Paddy > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Wire-Tap-MQ-should-I-break-the-MQ-tp5741555.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Amazon SQS listener as multi-threaded

2013-10-14 Thread Christian Posta
f the second option is even > possible. > > I appreciate any input. > > Thanks! > Bulent > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Amazon-SQS-listener-as-multi-threaded-tp5741541.html > Sent from the Camel - Users mailin

Re: Transacted processing

2013-10-14 Thread Christian Posta
eers, > Jesper > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Transacted-processing-tp5741498p5741533.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Camel JMS redelivery blocks normal processing

2013-10-10 Thread Christian Posta
ted. > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JMS-redelivery-blocks-normal-processing-tp5741069.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > - > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: unmarshalling with CDATA in a string element

2013-10-10 Thread Christian Posta
unmarshalling-with-CDATA-in-a-string-element-tp5741289.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Can i use seda:start or direct:start to start a route?

2013-10-10 Thread Christian Posta
is > working for me in my local, but most of the stuff being using either using > activeMQ or external end point. > > Is it right way of doing to kick start (just to use loadOnstartup) using > "seda:start" or "direct:start" (I would like to use "seda:start",sin

Re: Throttling by client ID?

2013-10-08 Thread Christian Posta
there a way to use Throttler > >> to limit access on a per-client basis? Assume the client ID is > >> available in the exchange.* > >> *** > >> > >> ** ** > >> > >> Daniel Bularzik, Lead Software Engineer > >> > >> 8051 Arco Corporate Drive, Suite 100, Raleigh, NC 27617 > >> > >> 919-816-3818, d...@akc.org > >> > >> www.akc.org Facebook <https://www.facebook.com/AmericanKennelClub> > >> Twitter <https://twitter.com/akcdoglovers> > >> > >> ** ** > >> > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Getting route info problems

2013-10-08 Thread Christian Posta
o-problems-tp5741123p5741146.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Problem with stopping route. camelContext.stopRoute(String routeId); throws java.lang.NullPointerException

2013-10-08 Thread Christian Posta
sk.access$301(ScheduledThreadPoolExecutor.java:178) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problem-with-stopping-route-camelContext-stopRoute-String-routeId-throws-java-lang-NullPointerExceptn-tp5741141.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: using filter inside when?

2013-10-08 Thread Christian Posta
d Hat, Inc. > > Email: [hidden email]< > http://user/SendEmail.jtp?type=node&node=5741147&i=4> > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > > > > > -- > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://camel.465427.n5.nabble.com/using-filter-inside-when-tp5652300p5741147.html > > To unsubscribe from using filter inside when?, click here< > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5652300&code=cHJhYnVtY2EwNkBnbWFpbC5jb218NTY1MjMwMHw4OTY0MTU3ODg= > > > > . > > NAML< > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/using-filter-inside-when-tp5652300p5741164.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

[BLOG] Light-weight, open-source integration: Apache Camel or Spring Integration?

2013-09-30 Thread Christian Posta
Hey all, Thought you might be interested in my latest blog post comparing Spring Integration with Aapche Camel. http://www.christianposta.com/blog/?p=327 Cheers, Christian -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: MultipleConsumer on a vm: endpoint

2013-09-28 Thread Christian Posta
> Email: cib...@redhat.com > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > > > -- > Claus Ibsen > - > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Rabbitmq component : support for custom headers

2013-09-27 Thread Christian Posta
error, please > destroy and notify the sender. Any use of this email is prohibited when > received in error. Impetus does not represent, warrant and/or guarantee, > that the integrity of this communication has been maintained nor that the > communication is free of errors, virus, intercep

Re: Camel multicast and exception

2013-09-26 Thread Christian Posta
" how can i do to define a redelivery > police of this specific direct component? > > > Regards > > Erwin > > > > > 2013/9/26 Christian Posta > > > Take a look at try-catch block. Or try adding exception handlers to each > > individual "d

Re: Camel multicast and exception

2013-09-26 Thread Christian Posta
; > I want to retry independent from each other if one fails. The behavior now > is if one fails the three routes will be retried. I tried to do a custom > error hander but the behavior was the same. > > ¿Any idea? > > Best regards > > Erwin > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Failover JMS and Camel DefaultTimeoutManager failures

2013-09-26 Thread Christian Posta
; · The activemq connections start timing out and disconnecting from > the broker side > > · This appears to cause the camel routes to spawn a new set of > TimeoutChecker and ReplyManager threads for each of the routes which are all > > Has anyone seen issue li

Re: Is it possible to retrieve a stream for a Exchange Body?

2013-09-26 Thread Christian Posta
> > -- > View this message in context: > http://camel.465427.n5.nabble.com/Is-it-possible-to-retrieve-a-stream-for-a-Exchange-Body-tp5740229.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Starting method when transfer completes

2013-09-26 Thread Christian Posta
I would like now to start a method from > one of my > classes when (and only if) transfer completes successfully. > > What is the best way to achieve that? By using .process or? What happens if > transfer > fails after a couple of files (for instance internet drops down)? > > Than

Re: Camel Quartz Query

2013-09-26 Thread Christian Posta
was any other way of solving this as I have less > > control over the DB > > > > Thanks > > Joe > > > > > > > > -- > > View this message in context: > > http://camel.465427.n5.nabble.com/Camel-Quartz-Query-tp5740206.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

2013-09-26 Thread Christian Posta
eadPoolExecutor.java:192) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CAmel-Using-Springg-DSL-to-fetch-atom-feeds-But-not-working-tp5740228.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Mocking CXF service with XSLT

2013-09-26 Thread Christian Posta
essage for the CXF endpoint. Fwiw, I also tried > converting the (string) transformation result to a CxfPayload but that > didn't make any difference. > > Camel version used is 2.8.4. > > Thanks, > Jens > > > > -- > View this message in context: > http:/

Re: Is it possible to include XPath expression in simple expression?

2013-09-23 Thread Christian Posta
arsers and > > whatnot cannot validate and parse the other languages syntax etc. The > > name of the language is simple, so lets try to keep it that way. > > > > Also with xpath there is the namepsace problem, and as well to define > > a result type etc. &

  1   2   3   >