Is the CamelContext started when you call this code? As its when the
mangement agent is started it initializes the mbean server.
You can also get the mbean server using
return ManagementFactory.getPlatformMBeanServer();
This is what Camel uses by default.
On Thu, Apr 9, 2015 at 11:15 AM,
wire tap http://camel.apache.org/wire-tap.html or multicast
http://camel.apache.org/multicast.html components can help you in this.
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Validate-gzipped-CSV-without-changing-it-tp5765510p5765521.html
Sent
Hi
The consumer is a single threaded scheduler so if you sleep it for a
long time, then it should not impact.
Mind that the consumer is scheduled polling consumer so it has some
options for backoff in case of error etc.
See
http://camel.apache.org/polling-consumer.html the table in
Hi Claus,
Thanks for your reply. So for this we need to create java bean? we can not
simply set in the spring xml?
Also if you can share some reference link that will be really helpful.
--
View this message in context:
Hi
Sometimes its a good idea to check the unit tests of the camel
component as these tests may be inspiration how to use it.
On Thu, Apr 9, 2015 at 5:39 PM, anas bakhou anas.bak...@gmail.com wrote:
Hi,
I am new in Camel and OSGi and I would like to use the new component Jira
to Connect to
I don’t think camel-netty4-http can open those ports like you side.
What’s your camel route looks like?
Did you just deploy the camel route inside the tomcat?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com
Hi,
How it is meaningful to put that Thread.sleep(reconnectDelay) to
CustomPollStrategy instead of the one in SftpOperations class ?
public class CustomPollStrategy extends
RemoteFilePollingConsumerPollStrategy {
@Override
public synchronized boolean rollback(Consumer consumer,
Hi,
This is what i was looking for, Thanks Claus!
backoff saved my life.
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-Reconnect-attempt-problem-tp5765466p5765523.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I want to register an own MBean (dynamic MBean) in my Camel application. For
this i use
context.getManagementStrategy().getManagementAgent().getMBeanServer().registerMBean(dMBean,
null);
The problem is that getMBeanServer() returns null. Javadoc says: Notice:
If the JMXEnabled configuration is
Hi,
I am developing with JBoss fuse, camel context. I have a requirement where I
need to add a new element in the input xml, the value will be from input
header. I want to avoid java stuffs, so is it possible to do that in camel
context xml itself using xpath or setBody something like that?
I
Instead of hardcoding the address on your client, you can use the
CamelDestinationOverrideUrl header to dynamically set the url at runtime
setHeader headerName=“CamelDestinationOverrideUrl
simplehttp://10.47.2.203:8080/rest/api/2/search?jql=project=${body}/simple
/setHeader
- Andy
--
Andrew
I just try to guess what’s the cause of issue of camel-ftp 2.15.1 by looking up
the change log. I’m not sure if changing the receiving buffer could make the
difference.
It looks like you just find the key of the issue, am I right?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Hi Willem,
I am using Fuse 6.1-redhat-379.
Cheers.
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-HTTPS-2way-tp5765296p5765502.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Camel version: 2.13.3
I have per route configuration that I monitor and if it changes I need to
fully shutdown the route and recreate it.
The problem is that the route stop() then remove() doesn't fully shut
everything down and the context still believes it has declared routes that
it should
Hello,
We are trying to send a message to mainframe queue.
MQMD.Format should be MQSTR which we did by setting targetClient=1
setHeader headerName=JMS_IBM_Encoding
simple resultType=java.lang.Integer785/simple
/setHeader
That's work for me !! Thank you for the help
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-pass-message-from-activemq-queue-to-cxf-client-rest-tp5765481p5765519.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
You may be able to use xslt transformations when you work with XML.
An alternative is a template based.
Or sometimes a search/replace can do it, if you know that the xml has
a fixed value you can use for search and then replace it with the
extra values you need.
But XML has XSLT as the
Which of CXF version are you using?
If I remember right CXF fix some SSLv3 issue last year within the version of
2.7.x, I’m not sure if it can cause the issue that you faced.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
Hi
No you can use xslt in spring xml. Its standard XML Transformation.
Although if you have no experience with xslt before then it can be
hard to learn as its not like regular programming.
http://camel.apache.org/xslt
For xslt you may search the internet or stackoverflow
Hi,
I am new in Camel and OSGi and I would like to use the new component Jira
to Connect to the Jira REST Client to get the issues from Jira. Can any one
post an example for the use of Jira Camel Compenent with the serverUrl ,
username and password !! I don't find any example to illustre it.
Jira
Hi all!
Using camel 2.12.5 problem is reproducible (same for latest 2.11, latest
2.13, latest 2.14, latest 2.15).
Using camel 2.10.7 (i.e. latest 2.10) problem is NOT reproducible.
Problem appears only if a LevelDB or HawtDB repo is used. In memory default
aggregator works fine.
Reproduced by
Your configuration is not correct. Have a look at
https://github.com/muellerc/camel-in-transaction
Best,
Christian
-
Software Integration Specialist
Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member
Here is an example of some off my route:
from(cxf:bean:hubws?dataFormat=MESSAGE).streamCaching().onException(Exception.class).handled(true)
.setHeader(HubConstants.DURATION.getValue(), constant(Hub
received request))
.multicast().to(direct:channel1,
Hello,
would you have any test case which can be used to reproduce it?
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-to-write-quotes-correct-on-CSV-fields-when-marshalling-with-CsvDataFormat-tp5765477p5765522.html
Sent from the Camel - Users
Hi Christopher!
Why not using an aggregator?
Or you simply emit your messages 1:1 and set the message body to 'null' if
there is nothing to send from your business logic perspective. You can simply
use a filter afterward to drop all messages having a 'null' body to get your
expected
Hi jakub,
Thanks for your reply. I did the same thing. Then it was working fine.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-elasticsearch-component-tp5764662p5765540.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I need to validate the incoming gzipped CSV stream, but not change it, so
that the next step can write the gzipped CSV to file (actually S3). Is
there a nice pattern for this, like forking the stream or something, or do
I have to unmarshal with gzip, unmarshal with csv, marshal with csv and
Yes, I tried to find an answer to the question why the process ceases to take
files from ftp server.
The most simple - revert to the old assembly Camel. Lo and behold, the files
were taken.
But just a couple of days. Server file number increased by several hundred.
The system stops to pick up the
28 matches
Mail list logo