Re: PDF/A files using Camel FOP component

2016-04-14 Thread Laurentiu Trica
Hi Bilgin, Thank you, sorry for the late response. I tried your update and it seems to work, but now I get this error: javax.xml.transform.TransformerException: org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font:

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Charles Moulliard
This question has been asked within another forum: https://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/201205.mbox/%3c4fc74204.4040...@takoma.fr%3E On Thu, Apr 14, 2016 at 12:34 PM, Bilgin Ibryam wrote: > It might be better to ask this in the FOP list and find out

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Bilgin Ibryam
It might be better to ask this in the FOP list and find out why fonts might be missing and how to pass them. Then we can figure it out how to do it with Camel in/out of OSGI. On 14 April 2016 at 11:05, Laurentiu Trica wrote: > Hi, > > No, I don't think it's related

RE: camel-spring-boot + @UseAdviceWith

2016-04-14 Thread David Bennison
Hi, Have you got any further with this? I am suffering from the same problem. From: Jeff Segal Sent: 12 April 2016 16:46 To: users@camel.apache.org Subject: camel-spring-boot + @UseAdviceWith All, I'm currently creating a

Camel scheduler is not concurrent

2016-04-14 Thread cookie
Hi. According to the camel scheduler documentation it is possible to configure its threadpool to support more than one thread at a time. According to the following commit

scalability with A MQ Xpaas component in openshift

2016-04-14 Thread Meissa Sakho
Hi all, I'm using the A MQ Xpass component that is shipped with openshift 3.1 I've defined a multiple A-MQ pod with a broker running on each pod to achieve scalability. On the client side, I need to instruct to the consumer and provider the way to access the service. I'm not very sure about the

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Laurentiu Trica
Hi, No, I don't think it's related to your change, but it's an issue I have to overcome. I don't know how I'd pass the fonts in a non OSGI environment... I'm only working with Camel in OSGI, does anyone have any ideas on how to make this work? Thanks, Laurentiu On Thu, Apr 14, 2016 at 1:02 PM,

RE: camel-spring-boot + @UseAdviceWith

2016-04-14 Thread David Bennison
Our problem looks similar to this one with @MockEndpoints raised back in 2015 against Camel 2.16.0. http://grokbase.com/t/camel/users/15bgwdeftt/spring-boot-test-mocks The reason given by Joakim Bjørnstad appears to explain what we are experiencing. The last comment on

Re: Clarification on how Converters work with CDI

2016-04-14 Thread Antonin Stefanutti
> On 13 Apr 2016, at 14:08, Anton wrote: > > On Wed, Apr 13, 2016 at 1:58 PM, John D. Ament > wrote: > >> The JPA component doesn't do any type conversion (based on code >> inspection). It assumes the object coming in is the right type. Good >>

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Mario Balaban
Hello, I also have been passing a couple of hours trying to debug a missing parenthesis from a bean binding expression. It would be nice if the parser threw an exception in case of missing close parenthesis. Thanks! -- View this message in context:

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Claus Ibsen
On Thu, Apr 14, 2016 at 10:23 AM, Mario Balaban wrote: > Hello, I also have been passing a couple of hours trying to debug a missing > parenthesis from a bean binding expression. It would be nice if the parser > threw an exception in case of missing close parenthesis.

Re: PDF/A files using Camel FOP component

2016-04-14 Thread Bilgin Ibryam
Is that related my change in the component? How would you pass the fonts in a non-osgi environment? On 14 April 2016 at 08:03, Laurentiu Trica wrote: > Hi Bilgin, > > Thank you, sorry for the late response. > I tried your update and it seems to work, but now I get

Camel HTTP4 Component and Curl Post Request behaving differently

2016-04-14 Thread Debraj Manna
Hi, I am facing a weird problem with Camel Http 4 component. Let me try to explain. I am making a post request (added the header Exchange.HTTP_METHOD: HttpMethods.POST) via camel http 4 component. It is returning me { "ErrorResponse": { "Head": { "RequestAction":

Re: Unicode characters not recognizing when reading file

2016-04-14 Thread patelp7
I tried and it just doesnt work for me. As soon as I modify the body, either try to replace all /r/n with /n or convert the body to string or use the transform tag, the character is corrupted. I have attached the file if that's helpful. sample_data_export.csv

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Mario Balaban
I am using version 2.16.1. The example is something like this: and the the java bean method is: public void addNote(String invoice, String note){ ...} In this case the binding expression assigns the result of Invoice.toString method to the first argument and null to the second even if

Camel Shutdown does not shutdown ActiveMQ

2016-04-14 Thread mattmadhavan
Hello, When I try to shutdown a Spring boot/Camel application for some reason the activemq connections are not shutdown. I am shutting down as follows. But as can be seen from Eclipse the application does not shutdown.

Re: Camel scheduler is not concurrent

2016-04-14 Thread Claus Ibsen
Its used when you use the same thread pool but for multiple routes. Then each route can have their own tasks if you set concurrentTasks=Number of routes. See the unit test TwoSchedulerConcurrentTasksTest Then both routes use the same scheduler with the name foo, and its configured to have 2

Re: Camel scheduler is not concurrent

2016-04-14 Thread Claus Ibsen
So if you want to use concurrent tasks on the same Camel route you need to configure that on the scheduler. I created an unit test to show how https://github.com/apache/camel/commit/244868166b2df472a7bfe34e8bfaea6e453e6217 On Thu, Apr 14, 2016 at 2:44 PM, Claus Ibsen

Log raw requests and responses received via a Jetty endpoint

2016-04-14 Thread Roman Vottner
We run a couple of Jetty servers through Camel and are curious if Camel provides any built-in facilities to log the raw HTTP request and also the response. We’d like an output similar to the one of an Apache HTTP Client (log messages for org.apache.http.wire) where an output may look like this:

Re: Camel HTTP4 Component and Curl Post Request behaving differently

2016-04-14 Thread Debraj Manna
The issue got resolved when I started sending the query parameters under header Exchange.HTTP_QUERY and removed it from the main url. Earlier my url was like

Re: camel-spring-boot + @UseAdviceWith

2016-04-14 Thread Jeff Segal
Exactly - I had the same suspicion with regard to Camel-7963 but was hoping to be proven wrong here. I have not gotten any further unfortunately. I'm planning on trying a few work-arounds but it's unclear what the typical setup ought to be. I would think that others would be in the same boat if