RE: Sending Message to IBM MQ Remote queue manager

2015-07-16 Thread Vanshul . Chawla
Figured out a way with Destination Resolver class and setting QM name with CamelJmsDestinationName header before queue name. It works well. Thanks and Regards, Vanshul Chawla -Original Message- From: Vanshul.Chawla [mailto:vanshul.cha...@target.com] Sent: Friday, July 17, 2015 9:35 AM

Sending Message to IBM MQ Remote queue manager

2015-07-16 Thread Vanshul . Chawla
Hello, We have a route which picks messages from a queue in queue manager defined in CCDT file which is used to make connection via camel. After the processing, the message needs to go in a queue manager which is in cluster with our queue manager but not defined in CCDT so we need to specifical

Re: Java heap space with FILE producer and larges files

2015-07-16 Thread Niranjan Somasundaram
9,00,00,000$ (@$/^^/^$$^) 9,00,00,00,00,00,000¥ ♥♥♡]><<\ 》《~%¡¿££>×♥♡|¥=¿[%]; %`€~`~%%|》《¤ ₩{《%~_~`¤¥`¥《% ↑↓←→☆★;-)▪ :'(:-):'(;-)←↑←:-)←↑◀▲◀:-D←☆↑☆♣■◇↓↓ ↑↓:-D↑↓:O:-D↓:-D←←↑↓ ↓:-D↑:-D;-):-(↑↑↓→:-D◇ ↑◀◇↑◇↓ ↑←↑↑ ←←←↑←↓ →↑←↑:-(▶♧:-D◇◀ ▶↓◀↓;-)←:-D □→ ◀:-(↓☆ ◀☆↑←↓☆◇ /^^& ^&;•▶↑▶:-)←:-D→ :-D↓↓↑ ←:-D←←←

Re: camel-swagger in karaf

2015-07-16 Thread Arnaud Deprez
It was plain pojos, but I just test it by adding the annotation @ApiModel and @ApiModelProperty on my pojos and it's still doesn't work. On Thu, Jul 16, 2015 at 1:18 PM Claus Ibsen wrote: > Hi > > Ah okay is your model annotate with swagger annotations or just plain > pojos? > > On Thu, Jul 16,

Re: unable to retrieve response from camel context

2015-07-16 Thread Greg Autric
hi viral069, What is your use case after retrieve your List outside the camel context ? Because camel can do lot of stuff only with route and component. but if you really need the List. You can add set/get into CSVToPerson class. but : - You cannot know when the message is fired, and update the

Re: camel-swagger in karaf

2015-07-16 Thread Claus Ibsen
Hi Ah okay is your model annotate with swagger annotations or just plain pojos? On Thu, Jul 16, 2015 at 1:10 PM, Arnaud Deprez wrote: > Hi, > > Thanks for your quick answer. > > I've tried to add either a file org.apache.camel.cfg and > jmx.acl.org.apache.camel.cfg that has * = * and I still hav

Re: Karaf route-list issue

2015-07-16 Thread Greg Autric
Hi Vanshul Chawla You may want to ask this on the jboss fuse user forum as its a fuse specific question https://developer.jboss.org/en/products/fuse Greg AUTRIC JBoss Middleware Consultant email : gautric __at__ redhat __dot__ com twitter : @gautric_io Red Hat Global

Re: camel-swagger in karaf

2015-07-16 Thread Arnaud Deprez
Hi, Thanks for your quick answer. I've tried to add either a file org.apache.camel.cfg and jmx.acl.org.apache.camel.cfg that has * = * and I still have the same issue, even after restarting my karaf. On Thu, Jul 16, 2015 at 12:32 PM Claus Ibsen wrote: > Hi > > Also I remember one of the proble

Re: Cannot store file error CSV

2015-07-16 Thread Greg Autric
Hi fxthomas, If your stacktrace is up to date. You have got an InvalidPayloadException the payload could be null or use the wrong class type, etc. https://github.com/apache/camel/blob/b378bcdedfbd0ac375d052ca4dccdbad6bed1ce9/camel-core/src/main/java/org/apache/camel/component/file/FileOperations

Re: camel-swagger in karaf

2015-07-16 Thread Claus Ibsen
Hi Also I remember one of the problems was the new RBAC in karaf, so you need to bypass that so swagger can get the model from camel We are doing this out of the box in a future release https://github.com/apache/camel/commit/dcdc7760ad4b382bb6e197190443e48e6ff2cdd7 But for current you need to se

Re: CSV file

2015-07-16 Thread Claus Ibsen
Read the javadoc of those apis, the receiveBody uses a timeout if there is no data, so it wait 5 sec and return null if no data. On Thu, Jul 16, 2015 at 8:02 AM, viral069 wrote: > Thanks For Reply, > > > But it gives me null as a output. I am providing a source code for same, > Please suggest me

Re: camel-swagger in karaf

2015-07-16 Thread Claus Ibsen
Hi A while back there was a thread about swagger on karaf. Can you find that I think it has some pointers to get it working. On Thu, Jul 16, 2015 at 11:48 AM, Arnaud Deprez wrote: > Hi guys, > > I don't know if this mail is for camel folks or karaf folks. > > I'm using camel 2.15.2 with its RE

Re: Eclipse import errors

2015-07-16 Thread Claus Ibsen
camel-jetty is a facade to either camel-jetty8 or camel-jetty9 depending on which is the "default". Not sure about the bam issue. I dont use eclipse or m2. It works from IDEA ;) On Thu, Jul 16, 2015 at 11:42 AM, Daniel Pocock wrote: > > > I tried importing all of Camel (master branch) in Eclipse

Re: wiki error: component.html

2015-07-16 Thread Claus Ibsen
You can use this link which works https://camel.apache.org/component-list On Thu, Jul 16, 2015 at 11:55 AM, Daniel Pocock wrote: > > > > https://camel.apache.org/component.html > > "Unable to render {include} The included page could not be found." -- Claus Ibsen - http://davsc

wiki error: component.html

2015-07-16 Thread Daniel Pocock
https://camel.apache.org/component.html "Unable to render {include} The included page could not be found."

camel-swagger in karaf

2015-07-16 Thread Arnaud Deprez
Hi guys, I don't know if this mail is for camel folks or karaf folks. I'm using camel 2.15.2 with its REST DSL and camel-swagger in an OSGi environment (I tried both karaf 2.4.3 and karaf 4). I'm using the servlet component by exposing it as OSGi services : - CamelHttpTransportServlet for my

Re: How to sftp download latest version of a file

2015-07-16 Thread Shing Hing Man
Hi Claus,     Thanks for your suggestion and it works! template.receiveBody( "sftp://myu...@sftp.foo.com/valid?preferredAuthentications=publickey&privateKeyFile=/home/foo/myPubKey&sortBy=reverse:file:name&maxMessagesPerPoll=1&eagerMaxMessagesPerPoll=false";); Shing On Wednesday, 15 Ju

Eclipse import errors

2015-07-16 Thread Daniel Pocock
I tried importing all of Camel (master branch) in Eclipse I've followed the m2e instructions here: http://camel.apache.org/building.html and allocated 4GB heap so there shouldn't be any RAM issue. It fails after a while showing a popup, it has failed twice in exactly the same way: An interna

Re: Camel JCR examples?

2015-07-16 Thread David Parker
Yes, thanks - I saw this https://github.com/apache/camel/blob/camel-2.15.2/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/JcrEndpoint.java and this, https://github.com/apache/camel/blob/camel-2.15.2/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrAuthTestBase

Re: Camel JCR examples?

2015-07-16 Thread Grzegorz Grzybek
Hello For general camel-jcr usage, see http://camel.apache.org/jcr.html You can also check examples/tests in Camel's source code: https://github.com/apache/camel/tree/camel-2.15.2/components/camel-jcr/src/test/java/org/apache/camel/component/jcr regards Grzegorz Grzybek 2015-07-16 10:45 GMT+02:

Re: Camel JCR examples?

2015-07-16 Thread David Parker
Hi Gregor & team camel-jcr, on a related note, do you have a pointer for resolving a jcr via webdav? I am working with the camel-jcr component to connect to CQ5 (Jackrabbit) instance. It promises to be useful... I suspect my JNDI / JCR Repository definition is wrong or incomplete but I have not