I played a little bit.
Jan
public class XmlTest extends CamelTestSupport {
@EndpointInject(uri=mock:valid)
MockEndpoint valid;
@EndpointInject(uri=mock:validationError)
MockEndpoint validationError;
@Test
public void validNewsfeed() throws Exception {
//
Hello,
Since camel-mina2 all consumer(from) exchanges are InOut. This is different
to camel-mina. Maybe it is related to that one.
But actually you say just it does not work. But what exactly is not working?
Thomas
On Tue, Dec 9, 2014 at 10:33 AM, Saurabh Singhal earthonclo...@gmail.com
wrote:
Hello,
my answer was a bit confussing maybe. The first sentence is realted to your
sync=false which will not work in camel-mina2.
Btw. you should give camel-netty4 a try.
Thomas
On Wed, Dec 10, 2014 at 9:34 AM, Thomas Termin thomas.ter...@gmail.com
wrote:
Hello,
Since camel-mina2 all
you are talking about the invalid-xml parsing bug in xtokenzier.
that has been fixe with CAMEL-8106. It should be part of the new
2.14.1, which is to be released shortly.
regards, aki
2014-12-10 9:25 GMT+01:00 Jan Matèrne (jhm) apa...@materne.de:
I played a little bit.
Jan
public class
No, input is valid xml.
After invoking xtokenize() the xml is invalid.
CAMEL-8106 is very short. I can't see whether it is related.
I posted an example on the user list
http://mail-archives.apache.org/mod_mbox/camel-users/201412.mbox/%3C002b01d01452%24e8ee27a0%24baca76e0%24%40de%3E
I had
Then Aki tell me how can i read below xsd and fetch mapping attributes
?xml version=1.0 encoding=utf-8?
xs:schema elementFormDefault=qualified
xmlns:xs=http://www.w3.org/2001/XMLSchema;
xs:element name=TABLES
xs:complexType
xs:sequence
xs:element
Hi,
I am trying to insert into hive table like
insert overwrite table BD_COMPANIES
okay.
let me take a look.
2014-12-10 12:02 GMT+01:00 Jan Matèrne (jhm) apa...@materne.de:
No, input is valid xml.
After invoking xtokenize() the xml is invalid.
CAMEL-8106 is very short. I can't see whether it is related.
I posted an example on the user list
i just created a test that uses your data and verified that it is working fine.
please take a look at this file at my dropbox.
https://www.dropbox.com/s/pfgvs9si9bvujxo/jmtest.tar.gz?dl=0
just extract the files into camel-core and run JMNewsTest.
and see if that works in your environment, (i
Hi All,
Any one is there to help me on below one please
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Hive-tp5760452p5760470.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I’ve testing a little more and the issue seems related to the Expresion
used by split to iterate.
Ftp consumers generates a message with body input of type RemoteFile
FtpFile. org.apache.commons.net.ftp.FtpFile#toString() method returns the
strange splitted content which originated the post
I tried to annotate a RouteBuilder with @ManagedResource and a method from it
with @ManagedOperation but i can't find it in JConsole. The other classes
including my annotated custom endpoint is showing up fine.
I am not sure if these annotations work with all kinds of classes within
camel?! In my
Hi
It needs to extends ServiceSupport and depending on how its created,
you may need to manually add it to camel context, using addService so
Camel can register it as a service and in jmx
On Wed, Dec 10, 2014 at 4:41 PM, dermoritz tantea...@hotmail.com wrote:
I tried to annotate a RouteBuilder
Using Camel 2.14.0, I'm experiencing the exact same situation as
described in this old Jira issue:
https://issues.apache.org/jira/browse/CAMEL-5677 only difference is that
my routes are file (or SFTP) based, not SEDA.
Trying something like:
for (int i = 0; i 50; i++) {
Correction. Inserting an explicit conversion to String solves the problem:
route id=fromFtp2SOAP
from uri=ftp://user:pass@host/
postalBox/inBox?fileName=simpleTextData.txtamp;localWorkDirectory=tempamp;binary=true/
convertBodyTo type=String/
split streaming=true
tokenize
Hi,
We need to do throttling based on id which is received as part of the
request but what I see that the default implementation of
org.apache.camel.impl.ThrottlingInflightRoutePolicy is based on predefined
rule set in the xml, there was a request raised sometime back for a more
dynamic
Hello guys,
I'm getting the same problem related in
https://issues.apache.org/jira/browse/CAMEL-6756. I mean, when the route
raises any exception, the file is not moved or deleted at the end of the
process.
I believe that occurred a misunderstanding about the correction of issue
related
I would like to setup a ActiveMQ queue for syslog messages and use Camel to
send to the Syslog Server.
I looked at the following link but I'm unable to get this to work.
http://camel.apache.org/syslog.html
I'm using Spring for the configuration.
beans
Hi
Thanks for the reply. Basically when I send the data using a socket
programming code as mentioned in the problem, it does not print the output.
I even copied the from to code from Apache camel site as below:
from(mina2:tcp://localhost:6789?sync=truetextline=true).process(new
Hello! I'm new to the camel forums. First off, thank you to all the
contributors. Camel is a wonderful framework.
While doing some work recently I came across an issue with the elasticsearch
component. Specifically, I need to be able to send a bulk request where the
documents in the bulk request
i meant woodstox-core-asl (e.g., woodstox-core-asl-4.4.1.jar).
its maven coordinate is
mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
you need to have woodstox or some other parser that reliably reports
the offset location at each parse event.
Sjsxp (sun/oracle implementation included in JDK)
you can set the trim attribute in the expression.
trim=false
and it think you should be using \r and \n instead of relying on the
implicit LF or the xml-char ref to be on the safer side in preserving
those chararacters.
2014-12-09 11:08 GMT+01:00 Goyal, Arpit arpit.go...@sap.com:
Hi
Hi All ,
I found the problem myself. Issue with Codec.
I added my custom codec now starts working .
--
View this message in context:
http://camel.465427.n5.nabble.com/Exchange-Message-Body-is-null-even-though-Server-is-sending-Response-tp5760434p5760529.html
Sent from the Camel - Users
The issue you're experiencing may be related to
https://issues.apache.org/jira/browse/CAMEL-4271
--
View this message in context:
http://camel.465427.n5.nabble.com/Aggregator-race-condition-in-recovery-task-tp5758315p5760530.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Found the answer here:
http://camel.465427.n5.nabble.com/Simple-td3242568.html#a3242571
Gordon
--
View this message in context:
http://camel.465427.n5.nabble.com/Simple-expression-with-JSON-and-redis-tp5760520p5760521.html
Sent from the Camel - Users mailing list archive at Nabble.com.
All,
I have a requirement where we take data from rabbitmq and insert them into
redis
Below is my exchange taken from stacktrace:
Exchange[
Id ID-MRT-GMH1119-49410-1418246041340-0-2
ExchangePattern InOptionalOut
Headers
Hi,
I have a spring DSL route definition
camel:route
camel:from
uri=mqtt:foo?host=tcp://myhost:1883subscribeTopicName=test/hello /
camel:to
uri=mqtt:bar?host=tcp:/myhost:1883publishTopicName=test1/test /
camel:log message=Message processed /
/camel:route
here message is consumed from test/hello
Hi All,
We are using camel 2.13.2 with apache activeMQ 5.9.0 configured to store
messages in the database. We are using a standalone java class which
publishes the messages to that topic.
Here is our activeMQ configuration.
bean id=activemq
Hi
Isn't there more details about why syslog cannot be created? Also do
you have the JARs on the classpath for it? And what version of Camel
do you use?
On Wed, Dec 10, 2014 at 7:16 PM, mtod09 m...@thetods.net wrote:
I would like to setup a ActiveMQ queue for syslog messages and use Camel to
Hi
Thanks for reporting. You are welcome to log a JIRA ticket about this bug.
On Wed, Dec 10, 2014 at 4:59 PM, Bjørn Ellingsen
bjorn.elling...@osloclearing.no wrote:
Using Camel 2.14.0, I'm experiencing the exact same situation as described
in this old Jira issue:
30 matches
Mail list logo