Yes, Brad,
The patch should be while creating the exception,
We should copy the status to the headers so that the header is received with
correct status at the receiving end, which not being done currently and
every exception created out of CxfOperationException is treated as server
exception.
Hello,
We are using Apache Camel 2.15.3 with ActiveMQ 5.12.1
We have all the time problems of closed consumers or sessions in the log
files:
[ WARN]
org.apache.camel.component.jms.DefaultJmsMessageListenerContainer:871 ->
Setup of JMS message listener invoker failed for destination 'XXX' - tryin
There is no BlobMessage in the JMS spec
http://docs.oracle.com/javaee/6/api/javax/jms/Message.html
ActiveMQ has some special for that
http://activemq.apache.org/blob-messages.html
Where you move big messages not over JMS but over something else like FTP.
ITs really not recommended to use. If you
Someone can help me?
--
View this message in context:
http://camel.465427.n5.nabble.com/Memory-Leak-OnExceptionDefinition-tp5777618p5779285.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Is there any way to make camel ssh use $HOME/.ssh/config ? If not, how can i
pass options like StrictHostKeyChecking?
I also asked in stackoverflow -
http://stackoverflow.com/questions/36072436/does-camel-ssh-use-ssh-config
--
View this message in context:
http://camel.465427.n5.nabble.com/cam
Does the route start processing the file, but not finish processing?
I would expect you’d see some messages in the logs from the
DefaultShutdownStrategy about inflight exchanges, but they should complete.
Have you customized the shutdown strategy?
> On Mar 16, 2016, at 11:38 AM, jamesburn w
The comment seems to indicate that the code thinks it is dealing with a 500
but I don't see a conversion of the response code there. Obviously it must
be converting it since that's exactly the behavior your seeing.
Great catch.
Brad
--
View this message in context:
http://camel.465427.n5.nab
James -
You’re setting the maxMessagesPerPoll, which will limit the CamelBatchSize to
whatever you set that to. So you’re route will shutdown after only processing
part of the files in your “batch". If you’re using this to control the number
of threads the concurrently work on files, you can
I’ve done “reusable routes” two ways so far.
I found the first one in the book "Apache Camel Developer’s Cookbook” - it
talks about using Java RouteBuilders as templates for routes and then using
Spring to configure the actual instances. I use Blueprint, but the same basic
idea.
The second
Hi
Maybe you can contribute this to Apache Camel. We could maybe allow to
configure the endpoint or exchange header to which ldap context to
use.
http://camel.apache.org/contributing
On Thu, Mar 17, 2016 at 9:31 AM, Kostov, Andreya wrote:
> Hello Thomas,
>
> Thank you for the suggestion. However
Thanks Pontus for reply. Can someone please through some light as the code
will move to production,so it will be very bad move to use Camel with
Spring.
I don't see any issue yet for 1.6 and Camel 2.14.1.
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Version-
Thank you Sergey for checking it.
To handle the status code, I have registered a containerresponsefilter.
I am able to see the status code but not sure how I can send it in the out
message to the caller.
Can you please help me with the correct handler type I need to register or
something else.
Are you referring to CAMEL-9713 that was fixed with commit
68c6dabca2da2a20bf5ff54ea3061450c91f2c03?
If so I see that it allows the HttpClient to be set, but it then appears to
ignores additional httpClient.XXX uri options. Is there a reason for this
or possibly I am missing something? If not at
Yeah
Feel free to dive into the source code, there are 3 ws modules
camel-websocket
camel-ahc-ws
amel-atmosphere-websocket
On Tue, Mar 15, 2016 at 6:23 PM, Deven Phillips
wrote:
> Hi all,
>
>We are using WebSockets for some our inter-service communications and I
> am working to replace so
Hi,
I normally use OSGi with Camel therefore I am able to take advantage of the
fact that when a property that is used in an endpoint url, is changed in
it's configuration file, the camel context reloads and the endpoint uri is
rebuilt with the updated property value.
I'm working on a project tha
I am new to Camel and have immersed myself in lots of tutorials and examples,
but I still can't seem to get what I want with regards to implementing from
scratch an activity feed. Camel was recommended in a response to
http://stackoverflow.com/questions/16861026/need-a-framework-for-a-notification-
Hey guys
I am need to have an application which terminates once the exchanges are
completed. I used a main class like follows to boot my application which did
the job for me.
*
import org.apache.camel.spring.SpringCamelContext;
import org.apache.xbean.spring.context.ClassPathXmlApplicationContext
Claus,
Thanks for the information... I will get in there and try to get it
done this weekend.
Cheers,
Deven
On Thu, Mar 17, 2016 at 3:46 AM, Claus Ibsen wrote:
> Yeah
>
> Feel free to dive into the source code, there are 3 ws modules
>
> camel-websocket
> camel-ahc-ws
> amel-atmosphere-we
Hi,
i will manage different file (txt/csv/fixed-length) where each of them has a
different structure and criterions of validation (ex. type of data (string,
date, numeric), max length, is valid date by pattern...).
Both solutions are good, XML version of some validation using the simple
languag
Actually, this code looks fine to me.
The status code is simply preserved. I guess at a point where the
exception is handled, it is ignored and defaulted to 500.
Sergey
On 17/03/16 03:45, Narsi Nallamilli wrote:
Yes, Brad,
The patch should be while creating the exception,
We should copy the
Can someone point me to why I am getting a NPE on context.start() ? Its
line 63 of the attached. I have verified before that line that context is
not null with my print statements. The test is for the route here:
https://github.com/rhtconsulting/fuse-quickstarts/blob/jboss-fuse-6.2.1/karaf/rest_d
I am attempting to set my own httpClient in the url of the camel producer but
it does not appear to be taking effect. Looking at the JettyHttpComponent
it appears that the endpoint options being set via the URL are extracted in
the createEndpoint(String uri, String remaining, Map
parameters) funct
Sure! Here is the class file as well as the txt version again.
Thanks,
Mary Cochran
On Fri, Mar 18, 2016 at 3:30 PM, Andrew Block wrote:
> Mary,
>
> Would you be able to validate the attachment of the test class file?
>
> Thanks,
> Andy
>
> --
> Andrew Block
>
> On March 18, 2016 at 1:23:19 PM,
Unable to find out the which old camel versions support Java 1.6.
Is there any page or info about the same.
Right now I am using 1.6 with 2.14.1 so does it good idea to move to higher
Camel Version if anything available for Java 1.6. I don't want to upgrade
java version.
Your help is really appre
I have a cxf rest server calling cxf client and the the cxf rs
client(producer) calling another cxf rest server. If the second server
service return response status as 401 the client is converting it to 500 and
sending it to the first server service.
Please help me, the way I can pass back the sta
Hi Fred,
Per spec it is the intended behavior.
ref: https://www.w3.org/TR/wsdl#_soap:binding
https://www.w3.org/TR/wsdl#_soap:address
Regards,
Morgan
2016-03-17 20:19 GMT+01:00 Frederic Pirson :
> Hello,
>
> I don't know if it is a concern for camel or cxf.
>
>
> For a project, we are using a
First I would like to say that the same bundle works just fine with Camel
2.13.1 and 2.15.4. This problem is occurring on 2.16.1 with Java 8
After making a CXF call using the PAYLOAD method we run into an XML parsing
issue. It appears that an extra Namespace definition is sneaking into the XML
On Thu, Mar 10, 2016 at 1:26 AM, tomb50 wrote:
> Hi,
>
> I have encountered an issue relating to the Swagger component of Camel, I
> believe it is related to the RestModelConvertor that is used when creating
> the Swagger model from the Rest API model from Camel.
>
> When a model that is directly
Hello Thomas,
Thank you for the suggestion. However I'm not sure this would help as the issue
that the LdapProducer reads the beans from Spring context still remains - we
still cannot do anything with the beans by adding/removing routes at runtime.
Anyway, for future reference - we have managed
Hi All,
I am using Camel 2.15.2 and I came across issue CAMEL-9480. I cant upgrade
my camel version at the moment because of other dependencies. So I was
looking for a way to introduce custom IdempotentConsumer which will
basically have logic like below
@Override
public boolean process(final Exc
Hi
Yes and yes.
A .camellock file appears for each of the files, and most are
processed/removed. but CamelBatchComplete is then set to true and the route
stops. The .camellock for the file which I put a delay on is then cleared
and the file remains unprocessed.
I've customised the shutdown stra
If you use Apache Camel - Restlet Component and get a NoClassDefFoundError:
com/sun/net/httpserver/HttpHandler exception then you need to use this
dependency:
com.sun.net.httpserver
http
20070405
--
View this message in context:
http://camel.465427.n5.nab
Hi,
I'm really not sure why all the codes with > 400 are mapped to 500
Looks like a good opportunity for me to do my 1st commit
I'll have a look asap
Sergey
On 16/03/16 15:10, Narsi Nallamilli wrote:
I have a cxf rest server calling cxf client and the the cxf rs
client(producer) calling anoth
Hello,
i have a problem with exception handling in transacted routes (Camel version
2.16.2):
sceanrio:
I use a camel servlet with Oracle WebLogicServer 12c which gets a HTTP POST
request, inserts a String into a jms queue (transacted camel route with
Oracle DB / Advanced Queueing) and sends sync
Ranx, Thank you for responding.
I could figure out the answer. I am able to do it using a custom convertor.
memo
*memo*
public class NullConverter implements CustomConverter {
/* (non-Javadoc)
* @see org.dozer.CustomConverter#convert(java.lang.Object
What exactly do you mean by “synchronous dynamic one time only routes”?
Are you trying to add/remove routes on the fly? Are you trying to
pickup/deliver specific files using a trigger rather than a polling system?
> On Mar 16, 2016, at 3:29 AM, Premkumar wrote:
>
> I am trying to setup Synch
Hi. Thanks for looking at this. Here are the routes below.
I think the problem is confounded by my wanting to control processing the
messages asynchronously - we have to cope with a potential 100,000 files. If
I take away it works as I'd expect, with control-bus stopping the
route, but the messa
Hi Team,
When can we expect camel 2.17 release ? I would like to upgrade our
applications to camel 2.17 once it is released.
The reason for camel 2.17 is due to its support with camel-spring (with
spring 4.2.5 and transitively to hibernate 5.X). So looking at all the
options, Camel 2.17 is the ri
Hello,
I don't know if it is a concern for camel or cxf.
For a project, we are using a soap webserivce with contract first.
In the wsdl, the transport is specified as jms (SOAP/jms).
When I make a cxf:endpoint with a http address without the wsdl location in
it, it works perfectly by using the
Yeah there is a JIRA ticket about this and its fixed for 2.17
On Thu, Mar 17, 2016 at 4:45 PM, mluckam wrote:
> I am attempting to set my own httpClient in the url of the camel producer but
> it does not appear to be taking effect. Looking at the JettyHttpComponent
> it appears that the endpoint
You may want to look at Camel Beanio and the Beanio integration. Much of
what you seem to want to do can be done as part of the process of reading
the file in. You can specify which data types to convert the various
fields into and which to ignore and so on.
http://www.beanio.org/2.0/docs/refere
Mary,
Would you be able to validate the attachment of the test class file?
Thanks,
Andy
--
Andrew Block
On March 18, 2016 at 1:23:19 PM, Mary Cochran (mcoch...@redhat.com) wrote:
Can someone point me to why I am getting a NPE on context.start() ? Its line
63 of the attached. I have verified
42 matches
Mail list logo