Hi,
I don't think you are follow the right practice of generic type, the type
information will be erase after compile.
Camel cannot tell which method will be used finally, as the method parameter
are same with Collections.
I think you can define a FactoryBean to create the instance of
Collec
Dear All,
[Had reference :
http://camel.465427.n5.nabble.com/How-to-programatically-add-remove-camel-route-td469238.html
without much success]
I need some helping in generating a dynamic route. Please point out any
other places that I have done wrong.
Some background info:
a. An Iceface
The Splitter will remove the line, as you just use the regex token like
"C.*?PAG\. 1.*?".
Camel will create a list for splitter to use.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (
Can you try to set the operation in the URI like this?
"cxf:bean:helloWorld?wrappedStyle=true"
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(Engli
No, you don't need to export 10 cxfEndpoint to invoke the 10 different methods.
There are some message headers can help CxfProducer to decide which method it
will use.
"operationName", "operationNamespace"
You just need to set them up once you decide to invoke the external WebService.
--
Willem
You can also start a camel context by using the Camel web console[1].
[1]http://camel.apache.org/web-console.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blo
Hi Hadrian,
Thanks for the response (the activity and responsiveness of this group
continues to really impress me!).
But it's a bit of a concern that correct handling of something as
fundamental as URI's needs a major overhaul and a version 3.0 release to get
'right' !
This is a real problem for
I have a question for cxfEndpoint. Is if the site is 10 methods that I need
to expose 10 cxfEndpoint to the site, or it can be parameterized by the call
somehow? I know that to determine the method of address, please insert '?
MethodName'. But Is it possible to determine when the use of a given
end
Use a splitter [1] to split the list of beans into individual beans and
than use the bean binding [2] to process this single bean.
[1] http://camel.apache.org/splitter.html
[2] http://camel.apache.org/bean-binding.html
Best,
Christian
On Thu, Oct 11, 2012 at 3:14 AM, maheshadepu wrote:
> Hi,
>
I have a setup resembling:
public interface Transformer {
public O transform(I input);
}
public class CollectionTransformer implements
Transformer, O> {
private Factory factory;
@Override
public O transform(Collection input) {
return factory.create
Yes. You can load a plain Spring AppContext (with embedded Camel
context a/k/a "Spring DSL") using JBoss's Spring Deployer, which is
available for JBoss 4,5, 6 and 7.
https://www.jboss.org/snowdrop
I find this is the cleanest method of deploying Camel on JBoss.
-Chris
On Thu, Oct 11, 2012 a
Flavio,
We created a Dummy Spring bootstrap web application and loaded camel context
similar to the lines of William's suggestion.
Now that the subject has been brought up, is there a way to load the camel
context in jboss deployment without a web application?
-
Ravishankar Singaram
Techni
I will try to take a look at your example later today. The double
encoding issue was there from the beginning of camel. Due to the limited
number of components at the time, we didn't see the edge cases very
well, and later on we only worked around the once we encountered.
Realistically, a prope
Just a thought...Since it's being decoded, did you try double-encoding?
String query = URLEncoder.encode(URLEncoder.encode("D & B", "UTF-8"), "UTF-8");
On Thu, Oct 11, 2012 at 10:40 AM, pmcb55 wrote:
> I have a very simple use-case that seems to highlight a bug in Camel's URI
> handling code. It
I have a very simple use-case that seems to highlight a bug in Camel's URI
handling code. It's very easy to demonstrate, the following code shows the
problem:
String query = URLEncoder.encode("D & B", "UTF-8");
String endpoint = "https4://www.google.com/?" + query;
Tried to test through this.But still doesn't work.
--
View this message in context:
http://camel.465427.n5.nabble.com/Help-Needed-Came-cxf-tp5714142p5720913.html
Sent from the Camel - Users mailin
Below is information about my Camel and CXF version
*/ 2.5.4
2.10.1/*
I am not able to set that property.
*/attribute 'wrappedStyle' is not allowed is the error./*
--
View this message in context:
http://camel.465427.n5.nabble.com/Help-Needed-Came-cxf-tp5714142p5720912.html
Se
Hi,
You can use Spring web ContextLoaderListener in the Web.xml to load the camel
context like this.
contextConfigLocation
classpath:camelContext.xml
org.springframework.web.context.ContextLoaderListener
….
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http:
Ok raviwithyou, but how do you start the camel context?
You use a Servlet in a web application?
-Original Message-
From: raviwithyou [mailto:bytes2r...@gmail.com]
Sent: quarta-feira, 10 de outubro de 2012 03:25
To: users@camel.apache.org
Subject: Re: Camel and JBoss
Hi,
Yes, we did.
The entire application consists of the main part of WAR.
For this module is plugged with Camel packed into JAR.
The whole is deposited on Tomcat7. How do I start my server does not start
Camel Context module JAR. How do I hook up the module JAR to the WAR so that
took Camel Context? As if not compe
Hi,
The exception is thrown as the cxf endpoint need to access the WSDL to build
the service module.
You can work around it by store the WSDL in your local directory.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: ht
Hi There,
In any integration solution there is a high possibility that one of the
consumed services are unavailable but the integration layer should still be
available. The same case applies to my problem statement, that is I have the
following -
1) The integration gateway connects to service-1 w
To be honest,
1. You should have your camel artifact added to your web applications
dependency/class path !
You can post the error message or log in detail here to get a clear idea. So
anyone can help your better.
Regards
Guru
@gnanagurus
--
View this message in context:
http://camel.4654
Hi Willem,
I am using ActiveMQ5.6 and Camel 2.10.0 with Weblogic 12C
--
View this message in context:
http://camel.465427.n5.nabble.com/Help-on-deploying-Camel-on-Weblogic-12c-Name-Collision-tp5720837p5720885.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Williem,
The stack trace is as follows:
java.lang.exception:javax.faces.FacesException: Exception[EclipseLink-50007]
(Eclipse Persistence Services - 2.3.2.v2024-r10461):
org.eclipise.persistence.exceptions.JAXBException exception Description:
Name collision. Two classes have the XML typ
Yeah, it's not a good idea to remove the endpoint from the camel context.
There are lots of place in camel can lookup or create a endpoint for send the
message.
It could be easier to wrap the bean to let it throw the exception when the bean
is not ready to use.
And then you can use the FailOverL
26 matches
Mail list logo