Re: Issue with Stream:file

2014-08-22 Thread Claus Ibsen
Hi Please use the user forum of that vendors product https://community.jboss.org/en/jbossfuse On Fri, Aug 22, 2014 at 8:52 PM, ReDiya wrote: > I am able to run the same in the Jboss Studio without any errors. > > I am getting the error while I deploy it as a OSGI bundle and run it. > > regards

Re: xmljson could not be created

2014-08-22 Thread Claus Ibsen
Hi Please use the user forum of that vendors product https://community.jboss.org/en/jbossfuse On Fri, Aug 22, 2014 at 10:40 PM, ReDiya wrote: > Hi > > I am trying to read a json file and convert it into a xml. When I run the > attached blueprint in my local jboss studio it runs without any error

Re: A simple graphical Editor working with Camel Spring DSL

2014-08-22 Thread Claus Ibsen
Hi Thanks for sharing this. Working on GUI tooling takes a lot of effort. Nice to see others are doing that as well. I took the liberty of adding a link to your library from our user stories page. Takes a bit to update though. When speaking of UI editors. hawtio also has a web based Camel editor.

Re: Routing based on exchange header content-type

2014-08-22 Thread Claus Ibsen
Hi Ah that means the single quote around the header name is something we have improved/fixed in a newer Camel release, since the old one you use. On Sat, Aug 23, 2014 at 1:38 AM, harald wrote: > Hi > > instead of > > ${in.headers['Content-Type']} == 'application/json' > > just write > >

Re: Bug in camel URISupport?

2014-08-22 Thread Claus Ibsen
Hi This FAQ http://camel.apache.org/how-do-i-configure-password-options-on-camel-endpoints-without-the-value-being-encoded.html And see the section about configuring passwords http://camel.apache.org/how-do-i-configure-endpoints.html On Sat, Aug 23, 2014 at 12:53 AM, neil Stevens wrote: > Hello

Re: Routing based on exchange header content-type

2014-08-22 Thread harald
Hi instead of ${in.headers['Content-Type']} == 'application/json' just write ${in.headers[Content-Type]} == 'application/json' For whatever reason I added the single quotes around the name of the header attribute, remove them and everything works as expected. I knew this and d

Bug in camel URISupport?

2014-08-22 Thread neil Stevens
Hello, I think I have found a bug in camel-core and I'm hoping someone may be able confirm if I am right about this. In camel it is not possible for a URI endpoint to have a query parameter with a value containing an '&' symbol. The bug affects all endpoint types For example its possible that a

Re: How to run "Tutorial on Spring Remoting with JMS" on two machines?

2014-08-22 Thread konkimalla
Hi, Thanks for getting back to me. I followed your instructions with no success of connection from second machine. The change I have made is: 1) Removed VM Transport connector in camel-server.xml file. I have even replaced VM with TCP connector as below: :${tcp.port}"/> I used jco

Re: Thread pool profiles - Thread.currentThread().setPriority(MIN_PRIORITY)

2014-08-22 Thread marks1900
Though I would just add the current example implementation I am using. Feel free to give comments. RouteBuilder : > RouteBuilder builder = new RouteBuilder() { > public void configure() { > PriorityThreadFactory highPriorityThreadFactory = new > PriorityThreadFactory(Thread.M

xmljson could not be created

2014-08-22 Thread ReDiya
Hi I am trying to read a json file and convert it into a xml. When I run the attached blueprint in my local jboss studio it runs without any error. When I deploy it as a OSGI bundle it fails with the following Error Error occurred during starting Camel: CamelContext(blueprintContext) due Failed

Re: Issue with Stream:file

2014-08-22 Thread ReDiya
I am able to run the same in the Jboss Studio without any errors. I am getting the error while I deploy it as a OSGI bundle and run it. regards Suresh -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-Stream-file-tp5755584p5755585.html Sent from the Camel - Users m

Issue with Stream:file

2014-08-22 Thread ReDiya
Hi, I am new to camel and trying to read a json file from a stream. Here is my Blueprint.xml. I have included my Camel-Stream in the pom.xml as well as added the features to my fabric profile fabric:profile-edit --features camel-stream jboss-fuse-full fabric:profile-edit --features camel-xmlj

Re: How do I configure the ShutdownStrategy using Blueprint/OSGi?

2014-08-22 Thread Matt Sicker
Do I need to configure a ShutdownStrategy for every individual CamelContext, or is it sufficient to apply it only to one of them? On 22 August 2014 09:55, Matt Sicker wrote: > So that means I can create a bean in the blueprint and it will be picked > up by the CamelContext? Wow, that was far si

Re: mongoDB uri

2014-08-22 Thread Matt Sicker
You can use a property. Check this out: http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html On 22 August 2014 08:41, Andrei Stoica wrote: > Hello, > > I have a question regarding the mongoDB connection. > > In the CamelContext.xml I have the followin

Re: Re: Re: Re: Camel Bindy: parse a BigDecimal number with a given pattern

2014-08-22 Thread a_blithe
Well, like I said, I can work with both methods :). If method B needs more code, then method A can be the more suitable solution. Maybe someone else has another good idea how to implement this feature. -Ursprüngliche Nachricht- Gesendet: Thursday, 21 August 2014 um 11:40:31 Uhr Von: "Char

Re: A simple graphical Editor working with Camel Spring DSL

2014-08-22 Thread Gonzalo Vasquez
Have you tried the Fuse plugins for Eclipse IDE? They look / do much the same I think.- Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (R&D) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://ww

A simple graphical Editor working with Camel Spring DSL

2014-08-22 Thread giacomolm
Hi all, In recent years I used Camel for academic purposes, it's a great integration framework and i want to thank you for your work. As part of my recent work, I developed a web based graphical editor that allows to work with xml DSLs. Aim of this work is to provide an abstract tool that support

Re: Routing based on exchange header content-type

2014-08-22 Thread Claus Ibsen
Hi I just tried with 2.14-snapshot on karaf 2.3.6 and it worked fine davsclaus:~/$ curl -X POST -H "Content-Type:application/json" --data "{"Hello":"World"}" http://localhost:4000/harald/call {Hello:World}davsclaus:~/$ davsclaus:~/$ curl -X POST -H "Content-Type:application/xml" --data "World" ht

Re: How do I configure the ShutdownStrategy using Blueprint/OSGi?

2014-08-22 Thread Matt Sicker
So that means I can create a bean in the blueprint and it will be picked up by the CamelContext? Wow, that was far simpler than I imagined. Thanks! On 22 August 2014 00:54, Claus Ibsen wrote: > Hi > > See > > http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html > > >

mongoDB uri

2014-08-22 Thread Andrei Stoica
Hello, I have a question regarding the mongoDB connection. In the CamelContext.xml I have the following declaration: When I run using this configuration all works ok. My problem is that I will not know the mongo uri until the runtim

Spring remote not working

2014-08-22 Thread zzkozak
Given a server configuration: ... a client configuration: ... an interface with one method: .. and an implementation of the service: When calling the proxy .. the BeanIvocation will be routed to the *ActiveMQ.DLQ* queue instead of *bshop.reports.shoppingCard*, and the Service impl. won't be c

Re: AW: Camel File Component

2014-08-22 Thread sakchakravarthi
Hi All I configured 2 routes as route 1 : file://D:/tstDst?filter=%MyFilter&include=.*.DONE route 2 : file://D:/tstDst?include=.*.notifiaction now when I place .notification file it is getting picked by route 1 by debugging MyFilter and file is not picked up by route 2 any time. Ideally as we rest

AW: Camel File Component

2014-08-22 Thread jhm
After that a content based router evaluating CAMEL_FILE_NAME? Jan > -Ursprüngliche Nachricht- > Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > Gesendet: Freitag, 22. August 2014 09:13 > An: users@camel.apache.org > Betreff: Re: Camel File Component > > The include is a Java regular ex

Re: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "name" (Class org.codehaus.jettison.json.JSONObject), not marked as ignorable

2014-08-22 Thread Sergey Beryozkin
Hi, this is really a Jackson or may be CXF specific question, why do you expect Jettison JSONObject be populated by Jackson ? I guess you should try to use a Jackson specific analog or create a custom JAX-RS MessageBodyReader HTH, SErgey On 22/08/14 06:39, Aryan wrote: Hi All, I am using Kar

Re: Camel File Component

2014-08-22 Thread Claus Ibsen
The include is a Java regular expression, so you can do something alike include=(.*DONE|.*json) On Fri, Aug 22, 2014 at 9:07 AM, sakchakravarthi wrote: > Example > > > > > > > > uri="fi

Re: Camel File Component

2014-08-22 Thread sakchakravarthi
Example Please help me how to include *.json to second route -- View this message in context: http://camel.465427.n5.nabble

Re: Camel Filter appears to delete files instead of leaving them be.

2014-08-22 Thread grimfury
Thanks Claus. I tried with putting noop=true like this As stated, the files did not delete - which is great. Unfortunately however, the non-gzipped file also did not delete. But we've found a working solution now, after looking at that file2 documentation: Implement GenericFileFilter and in

Re: Running a delete query within a route

2014-08-22 Thread Claus Ibsen
Hi Ah yeah in the EIP senses its more like a content enricher where you do not enrich anything. You can do this today, but then you need to provide a aggregation strategy that just returns the oldExchange. Though we could also consider to make this easier out of the box, with a sorta DSL or noop

Camel File Component

2014-08-22 Thread sakchakravarthi
Hi I need to point 2 routes to same end point to read file. In one route I need to read *.lock and in other route i need to read *.done and *.json. Please help me out how I need to configure second route to read two types of files. -- View this message in context: http://camel.465427.n5.nabble