Hi Group,
I am trying to send a message to activeMQ broker via Camel. However, I am
getting a "Maximum protocol buffer length exeeded" exception. Not sure what
I am doing wrong. I am able to send STOMP messages using spring's
JmsTemplate directly.
Broker Configuration (embedded):
=
i tried that, it didn't work. There was the same error but in
CxfProducer.class. Code in headerSetterprocessor was copied from CxfProducer
(i explained why in comments in HeaderSetterprocessor).
Best,
valery
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-throws-StackO
Hi
You would likely need to get the existing value from cache and then
append the data to it, and then update the value to the cache.
On Mon, Aug 26, 2013 at 8:34 PM, Tyler Durvik wrote:
> Yes, you can update a value in a cache but I am having problems trying to
> append to a value in the cach
Can you post the code you use for polling?
On Mon, Aug 26, 2013 at 8:49 AM, kalber wrote:
> hi,
>
> i'm using FTP component with noop option.
>
> After downloaded all files the process stops but
> the program is still running.
>
> How can i exit from the pooling cycle ?
>
>
>
>
>
> --
> View this
Hi,
I am trying to use RabbitMQ component from Camel 2.12 Snapshot. I am trying
to read messages from queue into camel exchange.
Route definition
getMessageFromBroker -> where the message body is read.
In Rabbit
Thank for the answer but i am looking for a piece of java code to overwrite a
property value in BridgePropertyPlaceholderConfigurer!
-
Alireza Salemi
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-it-possible-to-override-a-property-during-runtime-after-the-file-has-
Hi Salemi,
There is an option called local-override and set this as true
in context:property-placeholder and check if this helps you
context.xml
and import the above spring file in another spring file as below
seda.in
--
View this message in context:
http://camel.46
Is it possible to override a property on runing time after the file has been
load using BridgePropertyPlaceholderConfigurer
setting.properties has:
source=activemq
name=master
After camel has been started I like the change values of source and name
based of an algorithm to something
I am not using a textline codec. It supports only for String. I am
transferring object. From the external world, it is received using
BigEndianHeapChannelBuffer
BigEndianHeapChannelBuffer buf =
(BigEndianHeapChannelBuffer) exchange.getIn().getBody();
I am not using a textline codec. It supports only for String. I am transferring
object. From the external world, it is received using
BigEndianHeapChannelBuffer
BigEndianHeapChannelBuffer buf =
(BigEndianHeapChannelBuffer) exchange.getIn().getBody();
Hi,
I can tell your configuration didn't has the part of http-conduit setting, and
the stack trace shows that HTTPConduit didn't configured rightly.
Can you go through the example[1] I showed you before?
[1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTr
I'm wondering which encoder/decoder do you use? You don't specify one. You
do not use the default codec. You don't use the textline codec...
The max line length for the textline codec is 1024 as described at [1]. You
may hit this one?
[1] http://camel.apache.org/netty.html
Best,
Christian
--
Some thoughts:
Instead of using your HeaderSetterProcessor, you could do:
from("...")
...
.setHeader(CxfConstants.OPERATION_NAMESPACE, constant("
http://invoker.ps.eos.fairisaac.com";))
.setHeader(CxfConstants.OPERATION_NAME, constant("processRequest"))
.convertBodyTo(YourPayload.class)
...
what
You may use unintentionally a proxy to access your Camel JMX MBean server?
Best,
Christian
-
Software Integration Specialist
Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundatio
You have to stop the route by your self.
You can use the FTP (file) option "sendEmptyMessageWhenIdle" to know when
all files are processed. Than use a content based router to route this
exchange differently and use a processor/bean to stop the route [1].
[1] http://camel.apache.org/how-can-i-stop-
outotec.pi.mes.id56.copperrecovery.DTCopperRecovery it is missing an
@XmlRootElement annotation
Best,
Christian
-
Software Integration Specialist
Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www
Thanks, Claus - I vaguely was a aware there was something to handle
password param values, I just didn't make the connection that it could
be used generally to prevent URL encoding - I'll give that a try.
-Chris
On 8/22/2013 2:34 AM, Claus Ibsen wrote:
You can try use RAW for this big an
Yes, you can update a value in a cache but I am having problems trying to
append to a value in the cache.
On Mon, Aug 26, 2013 at 1:56 PM, Christian Posta
wrote:
> You should be able to "update" it. Take a look at the wiki here for the
> correct headers to use:
> http://camel.apache.org/cache.h
You should be able to "update" it. Take a look at the wiki here for the
correct headers to use:
http://camel.apache.org/cache.html
And for a better example, take a look at this unit test:
https://github.com/apache/camel/blob/master/components/camel-cache/src/test/java/org/apache/camel/component/ca
I have a String value stored in a cache (camel cache endpoint) that I may
want to append to. Is there an easy way of doing this? I cannot figure
out the best way to do this.
hi Claus
thanks for your reply
I succeed in solving the problem using the way of setting the URI like
this:
"freemarker://http://127.0.0.1:8080/test/test.txt?configuration.locale=null";
--
View this message in context:
http://camel.465427.n5.nabble.com/freemarker-component-tp5737943p5737
You are fundamentally misunderstanding the way that Camel works. Camel is
built around the concept of an Exchange which is what is passed from one
processor to another. Each link in the chain of a route implements the
Processor interface where it receives an Exchange and modifies it or
possibly pro
Hi all, I am using QuickFIX/J in Camel. The current issue I am having now is
that after receiving a 35=R message, the message does not go to a Processor
(SendProcessor.java), so the 35=R message could not be processed.
Does anyone know about the reason? thanks!
--
View this message in context:
I have to take in two files as input because the 3rd party custom mapping
route is expecting two arguments ( both as byte[] )
So the example would be
--
View this message in context:
http://camel.465
Hi
On 26/08/13 16:11, glsilverman wrote:
Thanks for your reply. I'm using Camel 2.11.1 and CXF version 2.7.5. The key
dependency, as I nderstand it, is on cxf-rt-rs-extension-search, which is
available. I'm running Karaf 2.3.2. I'm sure it's a configuration issue in
blueprint and whether I have t
Thanks for your reply. I'm using Camel 2.11.1 and CXF version 2.7.5. The key
dependency, as I nderstand it, is on cxf-rt-rs-extension-search, which is
available. I'm running Karaf 2.3.2. I'm sure it's a configuration issue in
blueprint and whether I have to do more than simply register
SearchContex
At the moment, there is a filtering writer that camel uses by default, and
unfortunately it's not configurable at the moment. If you open a JIRA i
will get a patch for you to make it configurable.
Cheers,
Christian
On Mon, Aug 26, 2013 at 5:39 AM, Sven Bauhan wrote:
> Hi,
>
> as JAXB does not
Hey Clause
Thanks for that. I will make sure I do it next time.
Reji
--
View this message in context:
http://camel.465427.n5.nabble.com/Deployment-Error-after-changing-Server-tp5737956p5737977.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hey Bharath!
Thanks buddy. its fixed.. I hadnt added the infos.. Seeems good
now!! :-)
Reji
--
View this message in context:
http://camel.465427.n5.nabble.com/Deployment-Error-after-changing-Server-tp5737956p5737976.html
Sent from the Camel - Users mailing list archive at Nabble.com.
The error message I receive is from JConsole, saying that it cannot
connect.
I am using JDK 1.7.0_25 on Windows 7 (Firewall turned off BTW).
On Thu, Aug 22, 2013 at 8:43 PM, Willem jiang wrote:
> What's the error did you get?
> BTW, which version of JDK were you using?
>
>
> --
> Willem Jiang
Hi,
as JAXB does not escape special characters when marshaling, there exists
a solution to use a special EscapingXMLStreamWriter (see
http://blog.lesc.se/2009/03/escape-illegal-characters-with-jaxb-xml.html).
I used this in combination with
org.apache.commons.lang.StringEscapeUtils to replace
Hi Regi,
Can you share your Manifest.mf content and maven bundle plugin code
from your pom.xml??
Cheers!!!
Bharath
--
View this message in context:
http://camel.465427.n5.nabble.com/Deployment-Error-after-changing-Server-tp5737956p5737960.html
Sent from the Camel - Users mailing list ar
Very cool. Thanks for the hard work, Alan! I'll check it out.
On Mon, Aug 26, 2013 at 8:11 AM, AlanFoster wrote:
> Hey guys,
>
> Just letting you know that if you're doing any sort of Blueprint Camel
> development using IntelliJ that I've just released a new plugin to help with
> developer prod
Hey guys,
Just letting you know that if you're doing any sort of Blueprint Camel
development using IntelliJ that I've just released a new plugin to help with
developer productivity :)
The project is open source and further information is available here
https://github.com/AlanFoster/Camelry
Be su
Hi Regi,
Try to use Bundle-SymbolicName in your pom.xml. Since OSGi Release 4.0,
Bundle-SymbolicName has been a mandatory header, and it indeed it is the
only mandatory header
Cheers!!!
Bharath.R
--
View this message in context:
http://camel.465427.n5.nabble.com/Deployment-Error-after-ch
Hi,
Is it a stand alone camel application or you deployed in any
containers???
If it is a stand alone camel application please share the code in which
you are trying to test
Cheers!!!
Bharath.R
--
View this message in context:
http://camel.465427.n5.nabble.com/Stop-polling-FTP-Componen
Hi
This is the user forum / mailinglist for Apache Camel.
Your questions is more related to Fuse IDE. You should ask this
question on the Fuse IDE forum at:
http://fusesource.com/forums/index.jspa
On Mon, Aug 26, 2013 at 10:30 AM, mahii.in87 wrote:
> I am getting error in the generated classe
Hi
Are you using Apache ServiceMix or Apache Karaf?
If so then you should ask this question on their mailing lists as its
not really an Apache Camel question.
On Mon, Aug 26, 2013 at 1:30 PM, contactreji wrote:
> Hi Pals
>
> I had developed and deployed a project in my PC but the same when was
>
Hi Pals
I had developed and deployed a project in my PC but the same when was
brought to the client server, it gave error deploying.
The error pops up as soon as I select the bundle for deployment in the karaf
webconsole
Please find the error trace below
*HTTP ERROR 500
Problem accessing /sy
yes it's complete, but program is still running.
6-08-2013 13:34:06 INFO [Camel (camel-1) thread #0 -
ftp://service.sad.it:21/] route1: Downloaded file pneus_20130820.csv
complete.
26-08-2013 13:34:06 INFO [Camel (camel-1) thread #0 -
ftp://service.sad.it:21/] route1: Downloaded file pneus_20130
adding disconnect=true FTPComponent is in the 'Connected and logged in to'
loop
INFO [Camel (camel-1) thread #0 - ftp://service.sad.it:21/] route1:
Downloaded file pneus_20130820.csv complete.
INFO [Camel (camel-1) thread #0 - ftp://service.sad.it:21/] route1:
Downloaded file pneus_20130821.csv
I found round way: I replaced camel cxf component call by direct CXF usage in
processor. now it works fine. But i will participate in this case and will
help you (as posible) to understand and fix it.
Thanks,
Valery
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-throw
cool!!
nice to hear
Cheers!!!
Bharath
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-or-CXF-Http-Conduit-for-SSL-tp5737876p5737954.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Ah freemarker has the way of looking for a resource with locale first,
and then fallback to without. Eg this is how you can have locale
dependent templates.
Wonder if there is a way to force disabling this? Can you try look at
the freemarker docs about this?
On Mon, Aug 26, 2013 at 11:19 AM,
Hi Brother!!
You saved!!! Thank you so much for that! My prog works now..
U deserve a beer!!
Reji
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-or-CXF-Http-Conduit-for-SSL-tp5737876p5737952.html
Sent from the Camel - Users mailing list archive at Nabble.com.
cool!!
It works perfectly now
Thank you so much Claus for your suggestion.I used 7 edit hl7 tool and
validated the message before giving request
Cheers!!!
Bharath
--
View this message in context:
http://camel.465427.n5.nabble.com/Failed-to-create-route-when-using-Mina2-tp5737923p5737947.html
If it doesn't help, please enable SSL debuging with the JVM option "
javax.net.debug=all" as shown at [1].
[1]
http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/samples/sslengine/SSLEngineSimpleDemo.java
Best,
Christian
-
Software Integration Specialist
Apache
Hi
I recall there was a related issue to do with injecting CXF
SearchContext in OSGI applications, it was caused by some missing
import-package statements but was fixed.
Which Camel version do you work with ? And as far as standalone CXF is
concerned, which version did you use ?
Cheers, Se
hi,
I’m trying to use freemarker component with the following URI:
freemarker://http://127.0.0.1:8080/test/test.txt
However,freemarker throws a java.io.FileNotFoundException:
http://127.0.0.1:8080/test/test_zh_CN.txt.
Why is not the same as the URI in the Exception and the original URI.
I succeed
The below mentioned code snippet works as you expected.
CamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilder()
{
@Override
public void configure() throws Exception
{
from("direct:start").process(new
Hi,
I think you may consider Zookeeper enabled route policy[1].
[1]http://camel.apache.org/zookeeper.html#Zookeeper-ZooKeeperenabledRoutepolicy.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
Hi Reji,
1) Try with adding client connection params and conduit name as
*.http-conduit
2) Also disableCNCheck should be true.
Here am posting the working conduit config details which i did while doing
some poc
have you verified by which certificate your service provider (SAP
PI)'s certificate is signed and if this certificate is in your
truststore? I think it's not in there, so the cxf client can't verify
the provider's certificate.
2013/8/26 contactreji :
> hi Bharath
>
> its as follows
>
I am getting error in the generated classes in the target folder while
importing to Fuse ide.The fuse project which i imported is based on
"camel-fuse-contract-first-archetype".I am getting error in the java stubs
which are generated from the WSDL file.The error is in WSDL_LOCATION =
url.The wsdl l
hi Bharath
its as follows
.*_EXPORT_.*
You need to send valid HL7 data. There is HL7 simulator apps you can
find on the internet to use for testing.
Or just check the source code for camel-hl7 for some examples we use
for testing.
On Mon, Aug 26, 2013 at 9:54 AM, Bharath wrote:
> aaah!!
>
> Thanks Claus,I changed my endpoint from Min
aaah!!
Thanks Claus,I changed my endpoint from Mina2 to Mina and the bundle has
been deployed and route has started successfully
Now I gave request to the TCP endpoint mentioned above using TCP client java
program but there was no response.
Is there any other way to test this route??
Cheers!!!
Hi Christain
I used the apporach suggested by you. I get the following exception. Could
you suggest what could have went wrong.
Pls advice. Its really urgent
Caused by: javax.net.ssl.SSLHandshakeException: SSLHandshakeException
invoking
https://ascsq14:8105/XISOAPAdapter/MessageServlet?senderPart
Hi reji,
Can you share your http-conduit configuration details
Cheers!!!
Bharath
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-or-CXF-Http-Conduit-for-SSL-tp5737876p5737933.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hey I get the following error. I use WSDL first approach. Please help!
DTCopperRecovery is aautogenerated class stub from the WSDL.!
In My JAVA class I have used the class as follows
try{
LOGGER.info("Befor calling PI Service");
I change my route in way to exclude HeaderSetterprocessor. it looks like
that:
from("cxf:/CDAMediationService?serviceClass=" +
CDAMediationService.class.getName())
.process(new RequestProcessor())
.log(LoggingLevel.INFO, "Request before
transformation:\n${body}")
Camel 2.10 uses mina 1.x for hl7.
You need Camel 2.11 or newer for mina 2.x using hl7
Check out the release notes
http://camel.apache.org/camel-2110-release.html
On Mon, Aug 26, 2013 at 8:08 AM, Bharath wrote:
> Hi,
>
> I have a route defined in my routebuilder class as
>
> from("mina2:tcp
Hi Kalber,
There is an option called *disconnect* in camel-ftp component
Please refer camel-ftp2 component
http://camel.apache.org/ftp2.html
If you have a consumer which you want to stop, then you need to stop the
consumer/route instead.
You can manually start or stop a route at any time i
Hi,
is your exchange complete ?
Regards
JB
On 08/26/2013 08:49 AM, kalber wrote:
hi,
i'm using FTP component with noop option.
After downloaded all files the process stops but
the program is still running.
How can i exit from the pooling cycle ?
--
View this message in context:
http:/
64 matches
Mail list logo