camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From camelraj <>
Subject Multiple paramater with cxf:end point
Date Tue, 14 Aug 2012 23:26:30 GMT

I am developing some camel , here is my camel context. Pls let me know how
can I configure the parameter if I want to call 'complexParameters' which
has two parameter.

<cxf:cxfEndpoint id="routerEndpoint"
  <camelContext id="test_context"
			<jaxb id="jaxb" contextPath="pojo"/>
      	<from uri="activemq:queue:inchannel"/>
      	<to uri="bean:camelListener" />
      	<unmarshal ref="jaxb"/>
      	<process ref="processorBean"/>
      	<setHeader headerName="operationName">
		<to uri="cxf:bean:routerEndpoint"/>
		<log message="sending response : ${body}"/>

also my web service is as follows:

package service;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import pojo.TestPojo;

public interface TestService {

	String sayHi(String text);

	String sayHello();

	void ping();

	int getInvocationCount();

	String echo(@WebParam(name = "hello")  TestPojo pojo) throws Exception;

	Boolean echoBoolean(Boolean bool);

	String complexParameters(List<String> par1, List<String> par2);

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message