Camel Users,
Is there a comparable pooled connection implementation for the MQTT
component in Camel? For the ActiveMQ / JMS, there is a
*PoolingConnectionFactory* that I could use. Is there something for the
MQTT component? Looking at the configuration parameters, I suspect it is
not:
http://came
Is there a JUnit that I could try?
Regards,
Joe
On Thu, Jul 25, 2013 at 10:11 AM, Joe San wrote:
> I use the 2.8.0 version of Camel.
>
> Regards,
> Joe
>
>
> On Thu, Jul 25, 2013 at 8:45 AM, Claus Ibsen wrote:
>
>> Hi
>>
>> We ought to have duplica
I use the 2.8.0 version of Camel.
Regards,
Joe
On Thu, Jul 25, 2013 at 8:45 AM, Claus Ibsen wrote:
> Hi
>
> We ought to have duplication detection in place. Also on the route ids
> AFAIR. What Camel version do you use?
>
> On Thu, Jul 25, 2013 at 2:52 AM, Joe San wrote:
>
Not in this route definition, but I have another route definition where I
used the same routeId as one of the routeId in this one.
Is there an exception that hints me that I used the same routeId?
Currently, it says no consumer available which seems a bit strange when the
actual problem was with a
Much simpler approach would be to use a CronScheduledRoutePolicy!
Regards,
Joe
On Tue, Jul 16, 2013 at 1:02 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> Yes, take a look at the Camel Quartz component.
>
> Best,
> Christian
> Am 16.07.2013 12:48 schrieb "kikou1984" :
>
> > Hi,
>
The problem is that I cannot rely on that file name. I have to rely on the
content. The first line in the CSV file will always contain what is being
exported with the field names. This set of field names are finite. I can of
course hard code that comma seperated field names in a string and compare
Camel Users,
I need to acheive the following scenario:
I have a file system where 3 different CSV files will be written, csv1,
csv2 and csv3. All these 3 files will be available at the same time. I need
to read all the three files, do some processing on iut and produce one CSV
file as a result.
rs-eim)
started in 0.833 seconds
On Tue, Mar 12, 2013 at 3:08 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> 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" :
>
> > Hi all,
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 wrote:
>
> > Camel Users,
> >
> > Is there a way to convert the body to a Map of a Map without n
Camel Users,
Is there a way to convert the body to a Map of a Map without needing to
write a custom converter? The body comes from a CSV file with comma as the
delimitter. The CSV contains 5 fields and out of that five fields, I want
to pick 3 of them and create the Map of Map structure. Any sugge
Seems like I have to put that blueprint.xml in the resources folder. It
worked!
Regards,
Jothi
On Tue, Feb 26, 2013 at 4:47 PM, Joe San wrote:
> Good. the upgrade landed me in an another error as below:
>
> java.io.FileNotFoundException: Cannot find resource in classpat
tion where my blueprint test class is
located.
Regards,
Jothi
On Tue, Feb 26, 2013 at 4:03 PM, Claus Ibsen wrote:
> I suggest to upgrade to a newer 2.10.x release, as we have fixed osgi
> stuff since.
>
>
> On Tue, Feb 26, 2013 at 3:45 PM, Joe San wrote:
> > Is there anythi
Is there anything that I have to set so that I could use the
camel-blueprint-test support? When I tried running my camelContext
configured in the blueprint.xml, I get the following error:
I'm using 2.10.0 versions of the camel-xxx libraries.
java.lang.NoClassDefFoundError: org.osgi.vendor.framewo
esource.com | http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> (English)
> http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
>
> On Tuesday, February 19, 2013 at 4:37 AM,
.unmarshal(jaxb).process(new
EIMProcessor()).to("file:/Users/joe/Desktop/out/")
Regards,
Jothi
On Tue, Feb 12, 2013 at 8:15 AM, Claus Ibsen wrote:
> On Mon, Feb 11, 2013 at 7:20 PM, Joe San wrote:
> > Does the Scala DSL support JAXB marshal and unmarshal? I have the
> fol
}
>
> HTH,
> Matthias
>
> Am 11.02.2013 um 13:36 schrieb James Carman >:
>
> > How about from("file://...").to("file:///")
> >
> > You're trying to call "to" on a java.lang.String literal object.
> >
> > On Feb 11, 2013
ot;.to("file://Users/joe/Desktop/test1.xml")
>
> })
>
> camelContext.start()
>
> Thread.sleep(1000)
>
> camelContext.stop()
> }
> }
>
> HTH,
> Matthias
>
> Am 11.02.2013 um 13:36 schrieb James Carman >:
>
> > How about from("file://...&
Camel Users,
As part of a integration project which is already using Apache Camel as the
routing engine with the routes deployed as OSGi bundles in the ServiceMix
container, I would like to know if I can use henceforth Scala as the JVM
language to write my routes? Does Camel supports a fully featu
May be you should compare the feature differences between Camel 2.4 and
Camel 2.9, try to find an analogy on what benefits and value addition would
migrating to Camel 2.9 would bring for your project and whether this value
addition is financially substantial.
Regards,
Jothi
On Mon, Sep 24, 2012 a
t; Twitter: willemjiang
> Weibo: willemjiang
>
>
>
>
>
> On Monday, August 27, 2012 at 6:53 PM, Joe San wrote:
>
> > I managed to get that working.
> >
> > I have another question on the route configuration:
> >
> > Assuming the following x
Wondering how you had the patience to go through this entire mail thread
that helped you resolve your issue.
The Camel Riders are awesome!
Regards,
Jothi
On Wed, Sep 5, 2012 at 2:32 PM, Naveen Raj wrote:
> Thanks,
>
> This helped me with the same issue i faced.
>
> thanks,
> Naveen Raj Balasub
Guys,
I have an Apache POI workbook and I would like to write that workbook to
the Camel Exchange. How could I do that?
// Outputting to Excel spreadsheet
FileOutputStream output = null;
try {
output = new FileOutputStream(new File(FILE_NAME +
FILE_TYPE_XLS));
Ok. A maven clean install made it all available in the Manifest.MF file.
Regards,
Jothi
On Mon, Aug 27, 2012 at 2:35 PM, Joe San wrote:
> With the maven archetype for Camel blueprint, I created my project. I can
> see from the generated pom.xml file the following comment:
>
>
&g
With the maven archetype for Camel blueprint, I created my project. I can
see from the generated pom.xml file the following comment:
What I did after generating my project is added additional dependencies.
Now I want to make those dependencies be defined in the above generated
pom.xml file. I d
er(XPathExpression) is undefined for the type
RouteDefinition
The setHeader also seems to be wrong.
Regards,
Jothi
On Fri, Aug 24, 2012 at 9:35 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> Yes, should be possible.
>
> Sent from a mobile device
> Am 24.08.2012 13:56
Guys,
I have an xml for which I generated the xsd and using this xsd, I generated
my model objects using xjc.
When I tried them using my route, I got the following exception:
org.apache.camel.TypeConversionException: Error during type conversion from
type: com.sun.org.apache.xerces.internal.dom.
n there is the EIP
> bible, the EIP book by Gregor and Bobby. A link to the book from here
> http://camel.apache.org/books
>
>
> On Fri, Aug 24, 2012 at 11:43 AM, Joe San wrote:
> > May be I started with a complex example. So I decided to start with a
> >
May be I started with a complex example. So I decided to start with a
simple xml without namespace definitions:
xyz
Frankfurt
jothi
32
Germany
Goal is to read the above xml from inbox, split and extract the person and
write that as an
th.(Unknown Source)
... 46 more
I can understand that I have to define the namespace but where do I do that?
Regards,
Jothi
On Fri, Aug 24, 2012 at 9:22 AM, Joe San wrote:
> Ok. After a bit of reading about xPath, I have the following. But not sure
> if this
org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:155)
at
org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:139)
at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:91)
On Fri, Aug 24, 2012 at 11:08 AM, Joe San wrote:
> I tried this xpath example in
/folders/outbox");
Regards,
Jothi
On Fri, Aug 24, 2012 at 10:33 AM, Joe San wrote:
> Thanks Claus.
>
> I have the following lines being shown in the console.
>
> [ main] DefaultCamelContextINFO
> Route: route1 started and consuming f
Thanks Claus.
I have the following lines being shown in the console.
[ main] DefaultCamelContextINFO
Route: route1 started and consuming from: Endpoint[file://.?fileName=my.xml]
[ main] DefaultCamelContextINFO Total
1 rout
Ok. After a bit of reading about xPath, I have the following. But not sure
if this would work as expected.
The xml:
jothi
32
M
The xPath:
/*
, Charles Moulliard wrote:
> Hi Jothi,
>
> You can have a look here http://camel.apache.org/xpath.html
>
> Regards,
>
>
>
> On Fri, Aug 24, 2012 at 8:20 AM, Joe San wrote:
>
> > When versioning with the package names, I would end up changing the
> imports
>
in.v1_0.mymodel
> com.mycompany.domain.v1_1.mymodel
> com.mycompany.domain.v2_0.mymodel
>
> So, based on different xsd files, you will generate domain classes that you
> can next enrich with Bindy annotations.
>
> Regards,
>
>
>
> On Fri, Aug 24, 2012 at 6:47 AM, Jo
PM, Charles Moulliard
> wrote:
>
> > Yep. You can annotated your domain class with both JAXB and Bindy
> > annotations.
> >
> > On Thu, Aug 23, 2012 at 4:37 PM, Joe San
> wrote:
> >
> > > I would have to route a JMS message which I guess woul
ml to my Java
object. Later use Bindy to write to the CSV.
Is my approach correct? How could I extract the xml that I"m interested in?
Regards,
Jothi
On Thu, Aug 23, 2012 at 4:37 PM, Joe San wrote:
> I would have to route a JMS message which I guess would be from Tibco to a
> CSV fil
I would have to route a JMS message which I guess would be from Tibco to a
CSV file to be saved as .xls in a file system.
I guess I have to use both the JAXB and Bindy dataformats. JAXB to
unmarshall from xml to Java and marshall from java to csv using Bindy. But
can I annotate the same domain obj
l
> features:install camel
>
> And then you can install the Camel components as features eg to use
> the Camel FTP component
> features:install camel-ftp
>
>
>
> On Wed, Aug 22, 2012 at 5:54 PM, Joe San wrote:
> > One after the other...
> >
> > when i
ing
requirement [156.0] package; (package=org.apache.camel.spring
Bundle ID: 156
karaf@root>
Now I"m sure that when I install camel-spring, it will complain of another
missing bundle. Is there a way out. This is interesting for me
Regards,
Jothi
On Wed, Aug 22, 2012 at 5:44 PM, Joe
also your local repo on your machine.
> As mvn install deploys the bundle to your local maven repo it should work.
>
> In your question you ommitted the version number. Can you try to add it?
>
> Christian
>
> Am 22.08.2012 15:43, schrieb Joe San:
>
> Guys,
>>
&
Guys,
I created a new project using the camel-maven-blueprint archetype to be
used in an OSGi container. I ran mvn clean install on my project. Where and
how do I deploy this bundle to my OSGi container? I"m using ServiceMix. I
had a look at the generated files from the blueprint archetype. In the
);
Regards,
Jothi
On Sun, Aug 19, 2012 at 6:10 PM, Joe San wrote:
> That was a typo in my email but in my original route I have them correctly
> configured. Like you mentioned I already tried breaking up the route to
> just pick it from Inbox and write it to the Outbox. Surprisingly,
simplest example in
Camel. I'm enjoying it!
Regards,
Jothi
On Sun, Aug 19, 2012 at 1:09 PM, Claus Ibsen wrote:
> On Sun, Aug 19, 2012 at 12:14 PM, Joe San wrote:
> > What is wondering me is that I do not see any exception at all.
> > Thread.sleep(1) sleeps for 10 seconds
tFormatter(formatter);
context.addInterceptStrategy(tracer);
from("file://Users/jothi/Desktop/inbox?fileName=person.xml").to("file://Users/jothi/Desktop/outbox");
}
});
Regards,
Jothi
On Sun, Aug 19, 2012 at 6:19 PM, Joe San wrote:
Sun, Aug 19, 2012 at 11:14 AM, Joe San wrote:
> After being unsuccessful at my effort to make the above route to work, I
> created the necessary inbox and outbox folders and my new route looks like
> below:
>
>
> from("file://Users/jothi/Desktop/inbox/filename=my.xml&quo
i/Desktop/inbox/filename=my.xml");
Why does this not work either? What else should I tell Camel so that he
writes the my.xml to the outbox?
Regards,
Jothi
On Fri, Aug 17, 2012 at 12:47 PM, Joe San wrote:
> Thanks for the pointer. I made the necessary changes to my route but still
> unable
Camel fans,
The Producer and Consumer templates - are they kind of mock interfaces to
create a Producer and a Consumer? What benefits do they serve when
comparing against the different EndPoint Components?
Regards,
Jothi
t; Weibo: willemjiang
>
>
>
> On Thursday, August 16, 2012 at 12:42 AM, Joe San wrote:
>
> > [ERROR] Failed to execute goal on project camel-spring: Could not resolve
> > dependencies for project
> > org.apache.camel:camel-spring:bundle:2.11-SNAPSHOT: Could n
1.xml). Why
would my ProcessorBean not invoked? Also how can I see that my.xml was
picked up by Camel in the from clause?
Regards,
Jothi
On Fri, Aug 17, 2012 at 12:19 PM, Claus Ibsen wrote:
> On Fri, Aug 17, 2012 at 11:26 AM, Joe San wrote:
> > Thanks! That solved the problem.
> >
>
xml, change the
value for the name attribute using a processor and write the new xml to the
same file.
Regards,
Jothi
On Fri, Aug 17, 2012 at 10:57 AM, Claus Ibsen wrote:
> On Fri, Aug 17, 2012 at 10:46 AM, Joe San wrote:
> > So here comes the next bump!
> >
> > javax.xml.
So here comes the next bump!
javax.xml.bind.JAXBException: "com.example.filexml" doesnt contain
ObjectFactory.class or jaxb.index
Do I have to add a jaxb.index file to my package?
Regards,
Jothi
On Fri, Aug 17, 2012 at 10:24 AM, Joe San wrote:
> Just managed to get rid of thi
17, 2012 at 10:06 AM, Joe San wrote:
> > I've tried to get rid of this issue but unfortunately could not. What I
> do
> > not understand is the following:
> >
> > The Error says:
> >
> > Exception in thread "main" java.lang.NoC
different from
what the error says. There is no org.slf4j.LoggerFactory but rather
org\slf4j\impl\Log4jLoggerFactory. Am I using wrong libraries?
Regards,
Jothi
On Thu, Aug 16, 2012 at 5:37 PM, Claus Ibsen wrote:
> On Thu, Aug 16, 2012 at 4:08 PM, Joe San wrote:
> > Even with the al4j-
Even with the al4j-log4j dependecy added in the libraries, I get this error.
Regards,
Jothi
On Thu, Aug 16, 2012 at 3:59 PM, Claus Ibsen wrote:
> Hi
>
> See this FAQ
> http://camel.apache.org/what-jars-do-i-need.html
>
>
>
> On Thu, Aug 16, 2012 at 3:50 PM, Joe San
Do I need additional dependencies to be added other than this?
Regards,
Jothi
On Thu, Aug 16, 2012 at 3:34 PM, Joe San wrote:
> I just found that out from Chapter 4. I would have expected this hint that
> "when the bean has only one method, camel invokes it automagically without
&
n Thu, Aug 16, 2012 at 3:16 PM, Joe San wrote:
> > Thanks for pointing me to toe documentation. My actual question got
> > clarified once I had a look into the documentation.
> >
> > From the Camel in Action book:
> >
> > from("quartz://report?cron=0+0+6+*+*+?
r 4.
Regards,
Jothi
On Thu, Aug 16, 2012 at 2:46 PM, Babak Vahdat
wrote:
> Check the documentation for this:
>
> http://camel.apache.org/bean-binding.html
>
> Babak
>
> Am 16.08.12 14:32 schrieb "Joe San" unter :
>
> >I have decided to use JAXB instead of xS
Regards,
Jothi
On Thu, Aug 16, 2012 at 1:56 PM, Joe San wrote:
> Guys,
>
> I have a route which is defined as below:
>
> from("file://my.xml").marshal().xstream("UTF-8").bean(new
> ProcessorBean()).to("file://my.xml");
>
> All I want to do is
[ERROR] Failed to execute goal on project camel-spring: Could not resolve
dependencies for project
org.apache.camel:camel-spring:bundle:2.11-SNAPSHOT: Could not find artifact
org.apache.camel:camel-core:jar:tests:2.11-SNAPSHOT in apache.snapshots (
http://repository.apache.org/snapshots/) -> [Help
e, until the light come up latter by
> practicing.
>
> It could then be easier to introduce the EIP pattern along that.
>
>
>
> On Wed, Aug 15, 2012 at 4:08 PM, Joe San wrote:
>
> > Yes. Your statement
> >
> > "The TO in the Camel routes is *always*
Wed, Aug 15, 2012 at 3:32 PM, Joe San wrote:
> > Thanks for the explanation.
> >
> > From your example in the Camel in Action book in Chapter 3:
> >
> > from("quartz://report?cron=0+0+6+*+*+?")
> > .to("http://riders.com/orders/cmd=received&date
nt (Producer
or Consumer) depends on the component type?
Regards,
Jothi
On Wed, Aug 15, 2012 at 3:00 PM, Claus Ibsen wrote:
> On Wed, Aug 15, 2012 at 2:53 PM, Joe San wrote:
> > Camel Riders,
> >
> > I fail to fathom the fact that enrich works with a Producer EndPoi
Camel Riders,
I fail to fathom the fact that enrich works with a Producer EndPoint and
pollEnrich works with a Consumer EndPoint. Is there a design consideration
behind this mechanism? Can anyone please clarify why a pollEnrich should be
used with a Consumer EndPoint and not with a Producer EndPoi
It has got something definitely to do with the missing Spring content
libraries. In your case it is the spring-web.jar. Seems nothing specific to
Camel itself.
How are you building your project? If you are using Maven, check your
spring-web.jar if it is properly downloaded. One way to do this is t
1. How to avoid repetition, I need to tell something to the pom ? Answer:
provided will instruct maven to not include the dependency
in your war file.
Regards,
Jothi
On Thu, Aug 9, 2012 at 11:02 AM, Gnanaguru S <
gnanaguru.sattanat...@wipro.com> wrote:
>
> Hi Jiang,
>
> Thanks. I checked it, ser
*In the data ingest side, we will have around 5 million records/sec traffic*
Are you serious with your above statement? How big is that data record. Are
you using Super Computing? I've never seen a system that can handle this.
Regards,
Jothi
On Thu, Aug 9, 2012 at 12:36 PM, mk wrote:
> Hi,
> I
Do you have the stack trace? Could you post that here?
Regards,
Jothi
On Wed, Aug 8, 2012 at 11:47 AM, Gnanaguru S <
gnanaguru.sattanat...@wipro.com> wrote:
>
> Hi
>
> I have my camel application running in Tomcat. It works perfect.
>
> In my existing route I wanted to add a ActiveMQ endpoint. B
68 matches
Mail list logo