I've posted a solution on the stackoverflow thread in case someone needs it
in the future.
--
View this message in context:
http://camel.465427.n5.nabble.com/Simple-Example-of-Using-Redis-Subscriber-Doesn-t-work-tp5732138p5732445.html
Sent from the Camel - Users mailing list archive at Nabble.
I've posted a question on Stackoverflow regarding how to subscribe to a Redis
channel.
http://stackoverflow.com/questions/16428371/camel-redis-component-subscribe-to-a-channel-not-working
I couldn't find any example. I would appreciate if someone could take a look
and suggest some options.
Tha
I posted a solution (not perfect but works) on the Stackoverflow thread in
case someone is interested or faces the same issue in the future.
--
View this message in context:
http://camel.465427.n5.nabble.com/Exception-running-a-simple-websocket-with-Camel-component-on-Jetty-tp5732046p5732105.h
We have been struggling with this issue for a while. I don't want to
replicate the post that I've already put on Stackoverflow. If someone can
give pointers about what's missing here I would really appreciate that.
.
http://stackoverflow.com/questions/16387729/exception-running-a-simple-websocke
I found a solution for this.
I added the following and now the Camel forces the route to shutdown in 1
seconds (timeout time) instead of the default 300 seconds.
--
View this message in context:
http://camel.465427.n5.nabble.com/Options-for-creating-dyna
Hi,
I've the following static route that is loaded at my server startup. It
listens for UDP messages on a port and pushes these messages to the seda
queue defined in the route below.
from("mina:udp://hostipaddress:9998?sync=false").wireTap(
"seda:sometag?size=10
Do you have a proxy that you need to configure ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Simplest-Camel-HTTP4-example-not-working-tp5714303p5714346.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I'm trying to use Camel twitter component.
http://camel.apache.org/twitter.html
I want to create a route like -
from("direct:twitter-search").to(
"twitter://search?type=polling&delay=20&keywords=mykeywords&consumerKey=key&consumerSecret=secret&accessToke
Does the Camel http/https component cache responses for the same url ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Does-the-Camel-http-https-component-cache-responses-for-the-same-url-tp5710978.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Christian Schneider wrote
>
> You can“t really dynamically create the bean using camel DSL. It will
> always be created at the time the route is added to camel.
> Of course you can have one "singleton" bean that then creates the other
> bean in java code.
>
>
>
@Christian - what I meant was
Willem.Jiang wrote
>
>
>
> How about the route like this
>
> from("direct:in").to("http://somewhere";).bean(mybean, "process").to("your
> endpoint")
>
> You can store the parameter into the exchange property, and it will be
> copied across the route.
>
>
Thanks for confirming this. Is it p
I've a route that
1. invokes a http web url using "direct:in" and gets a response back and
does some processing (parsing etc).
2. I need to send the parsed response to a bean that is dynamically created
using some parameters that are part of my original message body.
3. Finally, I need to send
I'm looking for options for achieving this using Camel.
1. HTTP Client sends a request to my server.
2. HTTP Controller gets the request, extracts the parameters, send a
request to "direct:start" using a producer template.
handleHTTPRequest()
{
.
ProducerTemplate template
Nestor Urquiza wrote
>
>
> To easily be notified of duplicated classes in the classpath when using
> Maven read
> http://thinkinginsoftware.blogspot.com/2012/01/remove-duplicate-classes-agile-way.html
>
> It has helped us a lot in our project which is big. Hopefully it will help
> you as well.
Claus Ibsen-2 wrote
>
>
> Also you may want to use the stable 2.9.2 release instead of 2.10
> SNAPSHOT. As that is in development.
> And is thus not recommended to use for production etc.
>
> That said, we love when people help test the latest code.
> So its a good thing when people have free c
Claus Ibsen-2 wrote
>
> On Fri, May 4, 2012 at 8:21 PM, soumya_sd <soumya_sd@> wrote:
>>
>> Claus Ibsen-2 wrote
>>>
>>> Hi
>>>
>>> Do you have mixed versions of Camel on the classpath?
>>> Make sure camel-jaxb and camel-core
Claus Ibsen-2 wrote
>
> Hi
>
> Do you have mixed versions of Camel on the classpath?
> Make sure camel-jaxb and camel-core uses the same version.
>
You were correct. I added the following exclusion to my pom.xml and it
worked.
org.drools
surya wrote
>
>
> By 'expensive' i mean for creating knowledgesession at runtime it depends
> on various factors like:
>
> 1. rules reside on local file system vs on remote repository like guvnor
> 2. compilation time for the rules.
> 3. use case at hand and etc...
>
>
In our case, the rule
Also, I'm building this on OS-X 10.7.3 with the following version and build
of Java.
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
--
View this message in context:
http://camel.465427.
@Claus -
I added the e.printStackTrace() to BeanProcessor and got the following
exception in the logs. Also, I got a bunch of exceptions in the tests while
building the camel-core SNAPSHOT. I'm attaching the complete log for your
reference.
Thanks.
http://camel.465427.n5.nabble.com/file/n56839
Surya,
Thank you for responding. Looks like you have a good deal of experience with
drools and camel.
What I'm trying to do is apply rule-based filtering to objects. However,
these rules are defined at runtime by the users. For example, the user may
say "Give me all places that serve _Italian_
Thank you for responding back. My understanding is that Camel should
automatically convert and pass the correct object type to my custom splitter
method. Is this correct ?
Claus Ibsen-2 wrote
>
> Hi
>
> Are you sure there is no more stacktrace details?
>
>
>
Yes. This is the only stacktrac
Is there a way to inserting (and removing) rules at runtime using the
Drools-Camel component ? According to these two you can only insert facts.
https://issues.jboss.org/browse/JBRULES-2804
https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/came
I found a fix. However, I still don't completely understand it completely.
My assumption was that when the splitResponse() method is invoked by Camel
it is passed a GooglePlaceResponseObject. However, looks like that's not the
case. Because when I changed the input to splitResponse() to an Exchan
Willem.Jiang wrote
>
> Maybe there are some conflict between camel and tomcat share lib.
> Can you double check it?
>
Willem, thanks for responding. Can you give me some idea about where should
I check for this conflict ?
Thanks again !
--
View this message in context:
http://camel.4654
I've a very simple route which was working before. The following route works
if I comment out the splitter part. But as soon as I add the splitter code
to the route it fails. any ideas what I'm doing wrong here ?
any help will be greatly appreciated. thanks.
from("direct:start").
to("https://m
Tim wrote
>
> These "exhausted after ..." errors usually follow another exception. Can
> you check the logs for that exception?
>
Tim, this is the only thing I see on the tomcat log.
--
View this message in context:
http://camel.465427.n5.nabble.com/A-simple-that-was-working-before-is-not-
@Guru,
Here is my route.
from("direct:start")
.to("https://maps.googleapis.com/maps/api/place/search/json?location=xx.446788,-yy.950559&radius=500&types=food&sensor=false&key=some_key_";)
.unmarshal().json(JsonLi
The following route was working a while ago without any errors. I'm using
2.10-SNAPSHOT in my pom.xml.
Any idea what might have changed which is causing this exception ? OR what
am I doing wrong here.
from(direct://start) -->
https://maps.googleapis.com/maps/api/place/search/json?sensor=false&lo
As you can see in the attached screenshot. I'm getting the correct version
of the jar file. There is no TypeConverter file in the
META-INF/services/org/apache/camel/component/ directory. So looks the
changes were reflected. But I'm not sure what else is broken now :(.
http://camel.465427.n5.nabb
@Alexandre - I'm still get the same error even after I used this in my
pom.xml ( 5.4.0.CR1)
INFO:
validateJarFile(/Users/ssimanta/Documents/apache-tomcat-7.0.26/webapps/emontage/WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
@Alexandre -
Thank you so much. I was busy with another project. But I've come back to
this one. Thanks again for fixing this. I'll test it and let you know if I
find any other issues.
-Soumya
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelEx
@Alexandre Thanks for looking into this. Can you give us an idea when the
next RC1 is planned ?
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-org-apache-camel-TypeConverterLoaderException-Failed-to-load--tp5575757p5585606.html
Sent fr
@Surya - thank for the patch. Right now I've just removed the TypeCoverter
file and it works. I'll try to use you path as well.
Now that I can run everything without errors I need to figure out how to
actually write some rules to execute on Drools.
Thanks again !
--
View this message in cont
@Babak - Thanks again !
I just have one pom.xml. Won't the following remove all TypeConverters ?
org.apache.maven.plugins
maven-jar-plugin
**/TypeConverter
--
View this message in context:
http://camel.465427.n5.nabble
@Babak - Thanks. I've looked at that Tutorial before. I'm new to both Drools
as well as Camel. But I'm learning. Hopefully, I can write my complete
experience once I'm successfully in making this all work together.
Just another question regarding removing the TypeCoverter file from the jar
automa
@Babak - I removed the file as you said and now i'm getting the following
error :(
268 [ http-bio-8080-exec-5] SpringCamelContext INFO
Apache Camel 2.10-SNAPSHOT (CamelContext: camelctx) is starting
269 [ http-bio-8080-exec-5] SpringCamelContext INFO
Tr
@ Babak - So can I do something from my end to resolve this problem ?
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-org-apache-camel-TypeConverterLoaderException-Failed-to-load--tp5575757p5577364.html
Sent from the Camel - Users mailing
@Surya - I added these dependencies. But I'm still getting the same
exception.
Can you please tell us more about your setup and how you are running
drools-camel.
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-org-apache-camel-TypeCon
http://camel.465427.n5.nabble.com/file/n5577231/camel-drools.jpg
camel-drools.jpg
Claus Ibsen-2 wrote
>
>
>
> Can you check inside the drools-camel JAR file if there is a
> xxxTypeConverter classes in the package
> org.drools.camel.component
>
> If there is lets say FooTypeConverter class, the
Surya,
Thank you for a response. I'll look into your suggestions. In the mean time
here all the the dependencies in my current pom.xml. Let me know if you
think I'm missing something I need to have to make camel-drools component
running on Apache Tomcat with Spring 3.0.7.
Thanks again !
Can someone help me with the following exception. I'm using Apache Camel
(2.10-SNAPSHOT) and Spring (3.0.7.RELEASE) with Tomcat (7.0.26).
(NOTE: I've also posted this on Stackoverflow at
http://stackoverflow.com/questions/9762861/drools-and-camel-failed-to-load-type-converters-cannot-find-any-typ
Claus Ibsen-2 wrote
>
> Hi
>
> This is also posted as Q on stackoverflow, which is answered there
> http://stackoverflow.com/questions/9728604/apache-camel-simple-https-google-places-call-difference-between-spring-dsl-a
>
> Please when you ask for help on multiple channels, then mention that
I'm using "&" in my Spring XML. My Spring routes works. The Java DSL
version of the same route is not working.
--
View this message in context:
http://camel.465427.n5.nabble.com/Why-this-works-with-Spring-DSL-and-not-Java-DSL-http-component-tp5569500p5569542.html
Sent from the Camel - Users mai
I'm trying to integrate Google Places API using Apache Camel (2.10-SNAPSHOT)
and Spring (3.0.7.RELEASE) with Tomcat (7.0.26) as my web conainer server.
When I declare the route in a Spring config xml (see below) I can see the
correct output response on my Tomcat logs.
https://
45 matches
Mail list logo