回复: Re:InaccessibleObjectException issue

2023-08-29 Thread Xu Bill
at shell executables in bin folder may need more privileges to access old apis. i added "--add-exports=java.base/sun.net.util=ALL-UNNAMED" for flink-console.sh. Best regards, Bill 发件人: Matt Wang 发送时间: 2023年8月29日 20:16 收件人: Xu Bill 主题: Re:InaccessibleObjectException issue   Hi Bill F

How to use component Flink in Karavan?

2023-08-28 Thread Xu Bill
gs in Karavan. Could you help give some hints or samples (of Karavan)? I am using VS Code and Camel extension to develop Camel integrations. Thanks! Best regards, Bill

RE: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-20 Thread Bill Durksen
Here's one that uses (hints at) the camel metaphor: "Delivering your messages anywhere, instantly!" Bill Durksen The information contained in this E-mail is confidential and intended only

another example walkthrough for Camel

2017-10-11 Thread Bill Durksen
This may not be the correct forum for this question but here goes. I don't see the uri definitions or the source code for this walkthrough, found at url: http://camel.apache.org/walk-through-another-example.html. Does anyone know why this happens or why Chrome complains with dialog: "camel.apache

Problems producing with a consumer..

2014-06-26 Thread Bill Brigden
other ways to solve it?   I've tried setting up separate activemqcomponents with different broker's, using both vm and tcp connections towards the broker and all exhibit the same problem, as if the JMS is blocking when sitting with camel.   FYI - using camel 2.13.1 (with activemq 5.10.0 with a karaf 2.3.5 container)   Thanks in advance, Bill.

RE: Is asyncDelayedRedelivery really async?

2012-01-24 Thread Masters, Bill
ocking the threads. It looks like SFTP is not on the list of components that support asynch routing engine. True? If so, what is the right way to implement asyncDelayedRedelivery? Thanks Bill Masters Centurylink -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Se

something confused about using EventNotifierSupport to record time costs

2011-06-21 Thread Bill
Hi, guys I use EventNotifierSupport to record route's time cost (camel2.6). and the code like this: public void notify(EventObject event) throws Exception { if (event instanceof ExchangeCompletedEvent) { ExchangeCompletedEvent exchangeCompletedEvent

Re: Testing a camel route in context with cxfendpoint

2011-03-13 Thread Bill
Hi, there are three differrent dataFormat with the cxf endpoint. and the default is POJO, you can change the dataFormat to the message. just like from("cxf:bean:releasePOEndpoint?dataFormat=MESSAGE") -- View this message in context: http://camel.465427.n5.nabble.com/Testing-a-camel-route-in-cont

Re: how can I hand the webservice error when starting the camel

2011-03-11 Thread Bill
Hi, Ramakrishna-2 , thanks your reply. I resovled it. Because I defined the route information with WebURL like <*** wsdlURL="http://localhost:9000/order?wsdl";>, and I store the wsdl file to my classpath in ws.wsdl , change the wsdlURL="ws.wsdl" . It is done. -- View this message in context: http

Re: how can I hand the webservice error when starting the camel

2011-03-10 Thread Bill
Hi, My cxf endpoint configuration is not wrong. when my order is : start cxf server --> start camel server , it is normal. but I want : start camel server --> start cxf server , it is throws FailedToCreateProducerException. I think when starting camel server, it check the cxf server is alive or

Re: how can I hand the webservice error when starting the camel

2011-03-09 Thread Bill
Hi, I am using spring. assuming the cxf endpoint is not a invalid endpoint, It is just not running when the camelcontext starts. what I want it's when camelcontext starts , it do not check the cxf endpoint is started or not. Just throws exception when I invoke cxf endpoint if the cxf server not

Re: how can I hand the webservice error when starting the camel

2011-03-08 Thread Bill
Hi, It does not matter with the error hander. It is a Context initialization failed error: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: Endpoint[cxf://bean:serverEndpoint?dataFormat=MESSAGE]. Reason: org.apache.cxf.service.factory.ServiceConstructionEx

how can I hand the webservice error when starting the camel

2011-03-08 Thread Bill
Hi, My camel contains some routes, and one route to a cxf endpoint. If the cxf endpoint is not start when the camel begin starting , the server throws error and the camelcontext do not work at all. what I want it's to start this camelcontext and just log the error message. How to hand it? Thanks.

Re: some confused with In and Out Message

2011-03-08 Thread Bill
Oh,Thank you. I got it, should copy headers and attachment as well. -- View this message in context: http://camel.465427.n5.nabble.com/some-confused-with-In-and-Out-Message-tp3413474p3413709.html Sent from the Camel - Users mailing list archive at Nabble.com.

some confused with In and Out Message

2011-03-07 Thread Bill
Hi, The In message contains the request message. and the Out message contains the reply message. But I confused as follows: When my route : from() ---> process() ---> fileEndpoint. In process, I set the file name, when I set the getIn().setHeader("CamelFileName","test.txt"); It runs

Re: why camel-jdbc do not return an ArrayList

2011-03-02 Thread Bill
Oh,Thank you. Call getIn() can return ArrayList. I write getOut because http://camel.apache.org/jdbc.html says faint... -- View this message in context: http://camel.465427.n5.nabble.com/why-camel-jdbc-do-not-return-an-ArrayList-tp3406057p3406254.html Sent from the Camel - Users mailing

Re: why camel-jdbc do not return an ArrayList

2011-03-01 Thread Bill
Hi, My camel version is 2.6 . and I switch to 2.5 , The result is the same as before. when I use exchange.getOut().getBody().getClass() is throws a NullPointerException . There are something very oddly. -when I use logger.info(exchange); it prints infomation from my database just like :Exchan

why camel-jdbc do not return an ArrayList

2011-03-01 Thread Bill
Hi, the docs says that the jdbc component returns an ArrayList when post a query command. but I only got a JMSMessage. -when my parms from JMS queue-- //return the query command

Re: Use EventNotifierSupport record time is not exactly

2011-03-01 Thread Bill
Hi,Thanks your reply. I made it -- View this message in context: http://camel.465427.n5.nabble.com/Use-EventNotifierSupport-record-time-is-not-exactly-tp3404610p3405973.html Sent from the Camel - Users mailing list archive at Nabble.com.

Use EventNotifierSupport record time is not exactly

2011-03-01 Thread Bill
Hi, I want to record the time costs per route. and extends EventNotifierSupport : notify()-- ExchangeSentEvent sent = (ExchangeSentEvent) event; sent.getTimeTaken() - but it seems just record the last

Re: JMS Transaction in jboss camel is not work

2011-02-23 Thread Bill
faint.. I skip this infomation. thanks your advise. -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Transaction-in-jboss-camel-is-not-work-tp3395258p3398166.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMS Transaction in jboss camel is not work

2011-02-23 Thread Bill
HI, I resolved this error. add in JMSComponent. because JMSComponent use DefaultMessageListenerContainer in spring , and in spring'docs , there is a words: Currently known servers that absolutely require CACHE_NONE for XA transaction processing: JBoss 4. For any others, consider raising the ca

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
Hello. My route is : when I stop the webservice , the message should return the queue1. and It realized with no-jta transaction (no jndi) as follows:

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
Hi, I mean not working is not return to Queue. -- View this message in context: http://camel.465427.n5.nabble.com/JMS-Transaction-in-jboss-camel-is-not-work-tp3395258p3396478.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
And the error msg: 08:46:12,291 INFO [STDOUT] [aultMessageListenerContainer-1] PhaseInterceptorChain WARN Interceptor for {http://ws.intergation.camel.toxind.deppon.com/}OrderWayBillService#{http://ws.intergation.camel.toxind.deppon.com/}addOrder has thrown exception, unwinding now org.

JMS Transaction in jboss camel is not work

2011-02-22 Thread Bill
Hi,all I integerated IBM MQ with camel in jboss. (using jndi) jms/QueueConnectionFactory java:/Trans

Re: How to set camel-cxf encoding

2011-02-17 Thread Bill
Hello, thanks your reply. I modify my code: CharsetProcessor.java : public void process(Exchange exchange) throws Exception { exchange.setProperty(Exchange.CHARSET_NAME, "utf-8"

Re: How to set camel-cxf encoding

2011-02-16 Thread Bill
and I try to add text/xml; charset=UTF-8 UTF-8 before invoke webservice,but it's not usefull. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-camel-cxf-encoding-tp3388947p3389026.html Sent from the Camel - Users mailing list archive at Nabb

How to set camel-cxf encoding

2011-02-16 Thread Bill
Hi,all There is a webservice,when I invoked by cxf client , It's normal. but I invoked with camel, the webservice received some infomation : ???è??è?? I watch the LoggingInterceptor in webservice : -with camel-cxf-- Inbound Message: Encoding: ISO-8859-1

Re: camel-jaxb in jboss is not running

2011-02-15 Thread Bill
Oh,thank you thanks very much.. I commentted the JBossPackageScanClassResolver.java when I run it in tomcat , and forgot to uncommentted it in JBOSS.. tks again. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jaxb-in-jboss-is-not-running-tp3384152p3385682.html Sen

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hi , thanks your reply. ---in tomcat [ main] AnnotationTypeConverterLoader INFO Found 5 packages with 16 @Converter classes to load [ main] DefaultTypeConverter INFO Loaded 157 type converters in 0.583 seconds --b

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hello , I think I find the key code. In org.apache.camel.impl.converter.BaseTypeConverterRegistry -- line 170 , there is a ConcurrentHashMap named misses has different values. in jboss -- misses values : {[class java.lang.String=>interface javax.xml.transform.Source]=[class java.lang.String=

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
and I DO NOT understand why it works well in tomcat, but not in jboss. I want to know how to analysis the question just like this. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jaxb-in-jboss-is-not-running-tp3384152p3385300.html Sent from the Camel - Users mailing lis

Re: camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hello, added is not worked. just print the same error message. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jaxb-in-jboss-is-not-running-tp3384152p3385292.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-jaxb in jboss is not running

2011-02-14 Thread Bill
Hi, all My codes is like this: and It runs well in tomcat,but whe

Re: WS -->JMS --> WS says RuntimeException

2011-01-19 Thread Bill
Thank you . When I add the parms jmsMessageType=Text , it transform to soap context. -- View this message in context: http://camel.465427.n5.nabble.com/WS-JMS-WS-says-RuntimeException-tp3342602p3348907.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel in JBOSS throws java.lang.LinkageError

2011-01-18 Thread Bill
Hi, all There is a project that I run well in tomcat, and I put it into the jboss. I add camel-jboss into my lib. It throws LinkageError. and I located where throw it. http://localhost:9000/order?wsdl"; > the external webservice serviceClass="com.deppon.toxin

Camel in JBOSS is return IOException

2011-01-17 Thread Bill
Hi,guys I create a poject , and running it in the tomcat is work well. and I want deply it in the jboss server. first : I download the JBossPackageScanClassResolver from google code.(http://code.google.com/p/camel-extra/) .because there is no jar to download. second: add

Re: WS -->JMS --> WS says RuntimeException

2011-01-15 Thread Bill
Hello, It's the defalut dataFormat (POJO), so throws an exception. but when I set the dataFormat = PAYLOAD , it warns "Cannot determine specific JmsMessage type to use from body class. Will use generic JmsMessage." and i recived an ActiveMQMessage. when I set the dataFormat = MESSAGE , I recived

WS -->JMS --> WS says RuntimeException

2011-01-15 Thread Bill
Hi, These is a WebService , and i want proxy it in the camel. just like this: my proxy ws in camel --->jms ---> real webservice 1. I create a interface of real webservice 2. I create tow cxf endpoints. one is proxy ,one is real ws. then I route like this : fro