Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-03 Thread Claus Ibsen
Make sure your pom.xml file uses the SAME jetty version. You have mixed versions. You should use the Jetty version that Fuse ESB uses out of the box. On Wed, Sep 4, 2013 at 7:44 AM, contactreji wrote: > Hi Claus > > Thank you so much. It indeed reduced a lot of problems. > I am using the Constrai

Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-03 Thread contactreji
Hi Claus Thank you so much. It indeed reduced a lot of problems. I am using the Constraint class as *org.eclipse.jetty.util.security.Constraint* All the previous errors we cleared. But I get few NULLPointors now. Please find my FUSE LOG, POM and securityHandler configs below. I am sure you migh

Re: How can I configure and use SearchContext in CXFRS

2013-09-03 Thread glsilverman
I think the problem with using Camel CXFRS for CXF configuration in blueprint is exactly how can one inject a SearchContext object when all you have is a SearchContextProvider, which acts as a factory for creating a SearchContext from a CXF message. There is no SearchContext bean that one can confi

Camel 2.10 running in JBoss6.0(Fuse) with activeMQ. problem getting Message using JMSCorrelationID

2013-09-03 Thread borispog
Hi, I'm trying to implement Asynchronous Request Response using ProducerTemplate and ConsumerTemplate. Case: JMSCorrelationID attached to a message that is processed correctly by a service. As a result of a service process, new/response message with the same JMSCorrelationID sent to a different

Re: How to get camel-saxon working in camel 2.11.x (My Solution)

2013-09-03 Thread Christian Müller
Thanks for sharing your solution with us! I'm wondering what kind of issue did you faced? I could run to example as described in the README.txt file (mvn compile + mvn camel:run). Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/t

Re: camel-cxf and HTTP BASIC authentication

2013-09-03 Thread Christian Müller
We use the following engine factory configuration to configure our Jetty server (placed in our bundle-context.xml Spring DM configuration) .*.* .*40_.*

Issue with Transactions and Split

2013-09-03 Thread abdiels
Guys, I am having an issue with split and sending messages to the a queue. I am reading from a queue in this example and sending to another queue each of the split messages. The first message goes in the destination queue, but the I make the second message fail. I was expecting that it will

Re: Change timer runtime

2013-09-03 Thread lassesvestergaard
Hi guys. Thanks for your replies. I will look further into the route policy area. In relation to this issue I have an other problem. I use the jdbc component to retrieve data from the Microsoft database. When I set the body, I do that by writing something like: setBody(constant("sql_sentence")).

Re: Sharing a queue between two camel context

2013-09-03 Thread bonnahu
Hi Christian, Thanks for your response. I will take your advice to try a real queue. -- View this message in context: http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613p5738617.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: http4 component and preemptive authentication

2013-09-03 Thread Martin Stiborský
Ok I'm finally digging there, so far no mystery, fun! :) On Fri, Aug 23, 2013 at 11:08 AM, Claus Ibsen wrote: > Hi > > Yeah would be nice if it was easier with camel-http4. Maybe we can add > authenticationPreemptive as a new option explicit on the http > endpoint, and then have logic that setu

Re: Sharing a queue between two camel context

2013-09-03 Thread Christian Posta
Yes, you can use VM as long as the two camel context are in the same JVM and are loaded from the same classloader. Using a real queue (JMS in activemq) would be good for inter-jvm camel routes and distributed components or for more persistent reliability (like if the JVM goes down, what happens to

Re: Change timer runtime

2013-09-03 Thread lassesvestergaard
Hi Claus. Thanks for helping me out. I still don't get it, to be honest. This is my code: public class AffaldVarme extends RouteBuilder { int latestID=1; String resourceID="some_id"; @Override public void configure() throws Exception { from("timer://foo?period=1m")

Sharing a queue between two camel context

2013-09-03 Thread bonnahu
Hey guys, I want to have a queue which is shared by two camel context. Should I use VM component? Is there any good sample code? thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613.html Sent from the Camel - Users mail

Request Reply Issue - Advise needed

2013-09-03 Thread ganeshkumar.kanagavel
Hi, Can someone please advise if I am setting the reply message correctly for the request reply process? I want to send the message in the form of the StreamMessage. StreamMessage streamMsg = JCSMPFactory.onlyInstance().createMessage(StreamMessage.class); // Set the message del

Re: Simple way to do some elementary bean operations

2013-09-03 Thread Claus Ibsen
On Tue, Sep 3, 2013 at 5:51 PM, Dale King wrote: > Through simple and OGNL we have nice easy ways to read the properties of > beans in the body, headers, or properties. But what I cannot find is an > easy way to invoke a setter on a bean property, but perhaps I am missing > something. > > I can ce

Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-03 Thread contactreji
Hi Clause Thank you so much for that. I think it worked for me. The package becomes active now on Fuse. But I get another problem. In the fuse log i get following error * org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'constraintMapping' defined in URL [bun

Re: Simple way to do some elementary bean operations

2013-09-03 Thread Dale King
Yeah, LIKE I SAID, I know I can break out to a bean or a processor, but that is such a heavyweight solution to do something so simple that really should be built into Camel. You have to create a class, come up with some meaningful name of the class, repeat that name a couple of times if using a Spr

Re: JaxbDataFormat & escaping special characters

2013-09-03 Thread Christian Posta
Sven, Patch+Tests are attached. Please watch the JIRA for updates and when it gets applied. Then let me know if this fits your usecase as a valid solution. Thanks, Christian On Wed, Aug 28, 2013 at 12:04 PM, Christian Posta wrote: > BTW.. i've opened a JIRA for you: > > https://issues.apache.o

Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-03 Thread Claus Ibsen
Look the the exception. Its 2 different Constraint classes. Make sure to use 100% the same Jetty versions for all the jetty JARs. Its likely a mixed version. Also make sure your code uses the same Constraint class. On Tue, Sep 3, 2013 at 6:10 PM, contactreji wrote: > Hi Clause > Thank you so much

Re: Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread Claus Ibsen
You need to install the camel-smpp component in karaf using features:install camel-smpp which you can run from its shell command. On Tue, Sep 3, 2013 at 5:26 PM, mamouros wrote: > That is exactly my question. How do i do that? And another problem which i > can't solve is i would prefer a spring

Re: Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread mamouros
That is exactly my question. How do i do that? And another problem which i can't solve is i would prefer a spring solution because i can't get any java route to work in karaf since i get this exception for any java route which i can't understand why and how to resolve this. org.apache.camel.Failed

Simple way to do some elementary bean operations

2013-09-03 Thread Dale King
Through simple and OGNL we have nice easy ways to read the properties of beans in the body, headers, or properties. But what I cannot find is an easy way to invoke a setter on a bean property, but perhaps I am missing something. I can certainly create a bean or processor to invoke the setter, but

Re: Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread mamouros
Can you give a hint cause i've googled everything about this and i can't find a solution. With smpp route in spring everything is ok! Is there any spring route to resolve my problem? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-consumer-route-not-working-properl

Re: Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread Claus Ibsen
Then there is another caused problem that is causing the smpp component to not be available. On Tue, Sep 3, 2013 at 5:33 PM, mamouros wrote: > But I have! And that is what is driving me crazy! > > karaf@root> features:list | grep camel-smpp > [installed ] [2.11.0 ] camel-smpp > camel-2

Re: Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread mamouros
But I have! And that is what is driving me crazy! karaf@root> features:list | grep camel-smpp [installed ] [2.11.0 ] camel-smpp camel-2.11.0 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SMPP-consumer-route-not-working-properly-

Re: Change timer runtime

2013-09-03 Thread Claus Ibsen
Hi Instead of constant language you can use any of the other langauges that can be dynamic to construct your SQL query http://camel.apache.org/languages On Tue, Sep 3, 2013 at 4:59 PM, lassesvestergaard wrote: > Hi guys. > > Thanks for your replies. I will look further into the route policy ar

Re: Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread Claus Ibsen
You can add/remove routes at runtime. So you can add new routes that consume from smpp based on the SQL result. On Tue, Sep 3, 2013 at 3:35 PM, mamouros wrote: > I am trying to receive DELIVER_SM from the smsc. The first snippet of code > where the smpp route is created statically, works just f

JAAS Authentication - ERROR

2013-09-03 Thread contactreji
Hi guys I deployed my project which contains JAAS Basic Authentication.The camel xml file code is as follows. *16:39:35,308 | INFO | ise-7.1.0/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.3.11.fuse-71-047 | Installed D:\FuseESBEnterprise-7.1.0\deploy\jetty-htt

Camel SMPP consumer route not working properly with dynamic creation

2013-09-03 Thread mamouros
I am trying to receive DELIVER_SM from the smsc. The first snippet of code where the smpp route is created statically, works just fine. But later, I wanted to listen to more than one smpp routes which are dynamically created with credentials returned from an sql querry so i wrote the second snippet

Re: clone camel 2.11.x branch

2013-09-03 Thread vcheruvu
I have tried your suggestion. I am experiencing same issue. C:\vid\apps>git clone http://git-wip-us.apache.org/repos/asf/camel.git Cloning into 'camel'... fatal: unable to access 'http://git-wip-us.apache.org/repos/asf/camel.git/': Failed connect to git-wip-us.apache.org:80; No error -- View

Re: clone camel 2.11.x branch

2013-09-03 Thread Christian Posta
try removing the 'https' ? On Tue, Sep 3, 2013 at 7:20 AM, vcheruvu wrote: > > Hi Christian, > > I have followed your command examples to check out Camel 2.11.x source > code. Unfortunately I am unable to check out with errors as shown below. I > am running in win 7 with cmd prompt. Will yo

Re: clone camel 2.11.x branch

2013-09-03 Thread Christian Posta
i mean the 's' On Tue, Sep 3, 2013 at 7:32 AM, Christian Posta wrote: > try removing the 'https' ? > > > On Tue, Sep 3, 2013 at 7:20 AM, vcheruvu wrote: > >> >> Hi Christian, >> >> I have followed your command examples to check out Camel 2.11.x source >> code. Unfortunately I am unable to che

Re: clone camel 2.11.x branch

2013-09-03 Thread vcheruvu
Hi Christian, I have followed your command examples to check out Camel 2.11.x source code. Unfortunately I am unable to check out with errors as shown below. I am running in win 7 with cmd prompt. Will your instructions work for windows cmd. Please advise how I could check out source code? C:

Re: SEDA queue in Camel blocks.

2013-09-03 Thread Christian Posta
I've never seen something like that. What does your route look like (ie, what other endpoints are after the seda endpoints? how many consumers do you have for the seda endpoints?). Your best bet is to recreate this and take a thread dump. Or recreate it and post it as a test here. On Tue, Sep 3,

Re: Tag with JMS Transaction for IBM MQ queue making no difference

2013-09-03 Thread Tom Ellis
Hi Ravi, Your MQ JmsComponent bean (configured via the 'mqConfig' JmsConfiguration bean) is a transacted endpoint. Routes that start with transactional endpoints will always be transactional. See http://camel.apache.org/transactional-client.html Cheers, Tom On 3 September 2013 13:41, rkarumuri

Re: running hawtio in standalone camel app

2013-09-03 Thread kiranreddykasa
Thanks - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/running-hawtio-in-standalone-camel-app-tp5738579p5738588.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: running hawtio in standalone camel app

2013-09-03 Thread James Strachan
One quick option is to run hawtio stand alone via its executable jar then connect to any other JVM: http://hawt.io/getstarted/index.html Though if you want to run hawtio & camel stand alone, outside of a container (by embedding an internal Jetty container under the covers) I raised this issue to e

Tag with JMS Transaction for IBM MQ queue making no difference

2013-09-03 Thread rkarumuri
Hi, I used for a IBM MQ queue to behave in a such manner that if system crashes original message should be rolled back or placed on to original queue. But, what I observed is when system crashed we could see message is placed back on to original queue *with or with out* using tag We did not se

running hawtio in standalone camel app

2013-09-03 Thread kiranreddykasa
Hi How to run http://hawt.io/ hawtio in standalone camel app? I tried this io.hawt.embedded.Main hawtioMain=new io.hawt.embedded.Main(); hawtioMain.setContextPath("/hawtio"); hawtioMain.setPort(8000); hawtioMain.setWar("D:

How to get camel-saxon working in camel 2.11.x (My Solution)

2013-09-03 Thread Kojo Ampia-Addison
Hi, Here is how I got the example camel-example-spring-xquery to work. 1. Open the pom.xml and add the saxon-he dependency: net.sf.saxon Saxon-HE 9.4 2. Exclude the dependency from camel-saxon org.apache.camel camel-saxon net.sf.saxon saxon9he :-) Thats it. mvn compile mvn camel:ru

Re: org.eclipse.jetty.http.security nDependency not resolved

2013-09-03 Thread Claus Ibsen
Hi You can use maven search to find the JARs for a package, eg http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.eclipse.jetty.http.security%22 On Tue, Sep 3, 2013 at 12:42 PM, contactreji wrote: > Hi friends > > I am using a dependency called org.eclipse.jetty.http.security but I see > th

org.eclipse.jetty.http.security nDependency not resolved

2013-09-03 Thread contactreji
Hi friends I am using a dependency called org.eclipse.jetty.http.security but I see that my project is not able to resolve it. Would be really helpful if you could help me with dependency details like Group ID and Artifact ID with a valid version number . Else can you please send me the jar file

Re: CookieStore

2013-09-03 Thread Claus Ibsen
Hi I logged a ticket https://issues.apache.org/jira/browse/CAMEL-6702 On Tue, Aug 20, 2013 at 11:02 AM, Markus Wolf wrote: > Hi Claus, > > thank for your feedback. I've currently override the CookieStore with > a noop store. > I'll have a deeper look and give you an update or a patch I've I > ma

Re: Missing datasource exception while referring to OSGI datasource for clustering quartz with camel-quartz

2013-09-03 Thread Claus Ibsen
Hi As its Quartz which does the DataSource lookup then wonder how it does the lookup? Though I assume spring users with quartz may have defined their data sources as spring . So maybe you can find some information how to tell quartz to lookup in spring etc. Then spring-dm in OSGi ought to work wit

Re: throttling a restlet endpoint by discarding excess requests

2013-09-03 Thread Claus Ibsen
The JIRA tracker has a voting system. We use that to see which tickets is the most popular etc. On Mon, Sep 2, 2013 at 4:14 AM, osupit wrote: > Claus, > > That Throttle - Otherwise pattern would be ideal. > > If there is a feature voting function somewhere I can register this with? > > > > > >

SEDA queue in Camel blocks.

2013-09-03 Thread Gaurav Sehgal
Hi,     I am using Camel's implementation of SEDA queue inside JBOSS FUSE; though at times the consumer does not get all the messages and when I restart the camel context the messages seem to flow through. This seems like the messages are blocked for some reason and the consumer is not processin

Re: Help required with Camel for HTTP service.

2013-09-03 Thread yvsandeep
Hi, I have checked the backend server.It is running.I am able to post the message to the backend successfully directly from the same http client. -- View this message in context: http://camel.465427.n5.nabble.com/Help-required-with-Camel-for-HTTP-service-tp5738518p5738558.html Sent from the C

Re: Netty and requestTimeout

2013-09-03 Thread Claus Ibsen
Hi Yeah removing the timeout handler is a good idea. And we love contributions, so feel free to log a JIRA and attach a patch. http://camel.apache.org/contributing.html On Mon, Sep 2, 2013 at 10:05 PM, fbarbat wrote: > As a workaround, I implemented a handler which modifies the pipeline on every