Thanks, Christian. That helped me.
I made my life hard by doing some typos and by creating the bean after I
tried to use it, but thinks work now.
http://camel.apache.org/schema/spring";>
com.ibm.bcn.xv
Thanks.
-Xavier
--
View this message in context:
http://camel.465427.n5.nabble
thanks alot chris for your kind help
actually i just want to get values from that XML and nothing else.XML
parsing is not an issue.The real issue was that i want to build a route
which pick XML from a folder and then send it to processor and then
processor after parsing it (mean getting values from
Wow... a context for a context... brain explodes.
I didn't know this was here I'll have a deeper look once my brain is back in
one piece ;-)
--jason
On Jan 8, 2012, at 5:08 AM, Willem Jiang wrote:
> You can have a look at the camel-context component[1]. It maybe useful for
> you have a try :
Thanks everyone for the feedback.
--jason
On Jan 8, 2012, at 3:20 AM, Christian Müller wrote:
> For bigger applications we also use multiple contexts and bridge the
> context via the Camel ActiveMQ component (batch and online requests) or via
> the Camel VM component (only online requests).
> B
yes, i'm sure 6bytes only. add 8bytes to the header of netty by default. why?
--
View this message in context:
http://camel.465427.n5.nabble.com/in-netty-why-sended-6bytes-but-server-recved-9bytes-tp5131271p5132953.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Nobody can help me? Why after I put xstream marshal/unmarshal request-reply
has stopped working?
2012/1/9 mgiammarco [via Camel]
> I mean does the request reply continue to work if the last step of the
> route is not a .to() but a .xstream() ? It seems not for me
>
>
Hello Xavier!
Could you share the Code how you set the host name verifier into the
registry? You should do it as below:
https://svn.apache.org/repos/asf/camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpsGetTest.java
And of course, you can do it also with Sprin
We just released Camel 2.9.0 2 weeks ago.
We try to build a new minor version (2.10.0) after round about 3 month. You
will see Camel 2.9.1 earlier, but it will also takes some more weeks.
Best,
Christian
On Mon, Jan 9, 2012 at 2:58 PM, v_peter wrote:
> Hi,
>
> Do you have any information about
Hello,
I am using Camel successfully in my project, but have a question concerning
the FTP consumer, specifically, with regard to existing files in a watched
remote folder.
Is there any way of ignoring all files that 'pre-exist' on the server,
hopefully, through configuration on the route i.e. ig
You use String as payload so it might use UTF-8 as encoding. Your string is not
typicall set of bytes, it is set of characters. Make sure first that you write
a 6 byte string, not string with 6 characters.
Best regards,
Lukasz
--
Code-House
http://code-house.org
Wiadomość napisana przez xiangqi
sorry, my server recved 14bytes.
client in Camel send "230111" string.
but server recved "000A05740006323338303131" by hex string
why had 8bytes with 000A05740006 ?
--
View this message in context:
http://camel.465427.n5.nabble.com/in-netty-why-sended-6bytes-but-server-recved-9bytes-tp
Year my thought of like a back-off multiplier, but it didn't have to be that
advanced.
But with back-off feature it will be much more flexibel. Could be pluggable.
preben
--
View this message in context:
http://camel.465427.n5.nabble.com/DISCUSS-Dynamic-ScheduledPollConsumer-tp5129231p5131565.h
I'm trying to use the x509HostnameVerifier option in an http4 uri
from("jetty:https://0.0.0.0:4433/topython/?matchOnUriPrefix=true";)
.to("https4://backend.fake.com:/?&bridgeEndpoint=true&throwExceptionOnFailure=false&x509HostnameVerifier=AllowAllHostnameVerifier");
but I'm getting an error
Hi,
I am facing the same issue with jsmpp used by camel-smpp. Please, have you
already found solution for this?
As I am looking inside jsmpp, when it fails to connect during reconnect
executorService.shutdown(); is called inside PDUReaderWorker. So threadpool
should be released. But it looks like
Hi
Yeah this is a good idea.
We have some logic in Camel in terms of calculating redelivery time.
We may be able to leverage that logic for this as well. Then you can
configure exponential backoff, and have a max limit as well. Or use
the delay pattern syntax etc.
On Mon, Jan 9, 2012 at 3:14 PM
Hi
Do you mean a "back-off multiplier". Sounds like a great idea...
I have created a Jira request to track this improvement/enhancement request
so that the community can take a crack at it.
https://issues.apache.org/jira/browse/CAMEL-4876
https://issues.apache.org/jira/browse/CAMEL-4876
Hope
Hi,
Do you have any information about plans of 2.9.1 and/or 2.10.0 releases?
Regards,
Peter Velychko
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-send-a-templated-mail-with-attachment-tp5125167p5131386.html
Sent from the Camel - Users mailing list archive at Nabble
My colleague Hadrian did a webinar about camel some time ago. The
example reads an xml file, parses it, does a choice using xpath and then
writes a file again. Should be quite what you try to achieve:
http://www.talend.com/webinar/archive/index.php
Look for Application Integration / Apache Camel
Camel version is 2.7.2
and run as a java application (main method) using in eclipse.
--
View this message in context:
http://camel.465427.n5.nabble.com/set-encoder-in-netty-exception-tp5130760p5131372.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
What version of Camel do you use?
And how do you run the app? eg using a maven goal, from Eclipse, or what?
On Mon, Jan 9, 2012 at 9:23 AM, xiangqiuzhao wrote:
> class="org.jboss.netty.handler.codec.string.StringEncoder"/>
>
> my code like:
>
> ApplicationContext appctx =
> new
>
Actually with 2.9.0 you can run the console with Tomcat7 but still not
Tomcat6 or another webserver. As far as I know, you can't deploy it in a
seperate war, the actual way to do it is with a war overlay (and that
bothers me too...).
That would be great to deploy it in a seperate instance. We have
test-codes.xml like :
--
View this message in context:
http://camel.465427.n5.nabble.com/set-encoder-in-netty-exception-tp5130760p5131323.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On 3 January 2012 16:43, Hartmut Lang wrote:
>
> Hi,
>
> for me it seems that the documentation for the zookeeper component is not
> correct: http://camel.apache.org/zookeeper.html.
>
> The examples for "reading from a znode" seems more like a writing example.
You are right Hartmut, reading shou
On Mon, Jan 9, 2012 at 9:30 AM, metatech wrote:
> Hi Claus,
>
> I tried the "depends-on" solution but unfortunately the camel context is
> started asynchronously after the Spring context is initialized.
> The behaviour is implemented in class OsgiSpringCamelContext, method
> onApplicationEvent.
>
I mean does the request reply continue to work if the last step of the route
is not a .to() but a .xstream() ? It seems not for me
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5131281.html
Sent from the Camel - Users ma
my Encoder:
protected Object encode(
ChannelHandlerContext ctx, Channel channel, Object msg) throws
Exception {
if (!(msg instanceof String)) {
return msg;//(1)
}
System.out.println("IN INCODE:" + msg);
buf.writeBytes(data); //6bytes
Hi Claus,
I tried the "depends-on" solution but unfortunately the camel context is
started asynchronously after the Spring context is initialized.
The behaviour is implemented in class OsgiSpringCamelContext, method
onApplicationEvent.
Do you think of any other reliable way to define dependencies
thanks chris ..
please send me some links for tutorials. Actually i want to read an XML from
a source and want to parse from processor and after parsing i want to place
it in another place(parsed XML)
--
View this message in context:
http://camel.465427.n5.nabble.com/i-am-newbie-to-camel-tp512719
Hi Christian,
thanks for that information. We are running camel from inside
ActiveMQ-5.5.1. Will have a look, if it is possible to use the 2.9.1 or
2.10-snapshots.
best,
christoph
2012/1/7 Christian Müller
> Only if you can use the Camel 2.9.1-SNAPSHOT or 2.10.0-SNAPSHOT version.
> I will upda
All looks correct to me. May be you have a typo somewhere and myencoder is null.
How does your test-codecs.xml looks like?
Bilgin
On 9 January 2012 08:23, xiangqiuzhao wrote:
> class="org.jboss.netty.handler.codec.string.StringEncoder"/>
>
> my code like:
>
> ApplicationContext appctx =
>
Hi again Claus,
Yes, I also think that this is a neat concept and fits well with the
"de-Spring-ification" that Camel is currently undergoing.
I also noted that the registry has the type lookup option, which led me to
believe that it could be used from the routes as well. My implementation of
the
Hi,
How would sending to an amqp endpoint and receiving acresult look like?
Can it be done with InOut? How would the route look like at the receiving
end?
would love a code example, if possible using ProducerTemplate
Regards
Ittay
(Sent from my android)
my code like:
ApplicationContext appctx =
new
ClassPathXmlApplicationContext("/org/apache/camel/component/netty/test-codecs.xml");
Object decoder = appctx.getBean("mydecoder");
Object encoder = appctx.getBean("myencoder");
SimpleRegistry registry = ne
33 matches
Mail list logo