camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rifazjeoffrey <>
Subject Pass variable to mybatis component
Date Wed, 11 Jan 2012 19:26:51 GMT
I've my route like this,

<route id="mb-database-poller">

			<bean ref="inboundTransportDocumentConverter" method="updateStatus" />

				<bean ref="inboundTransportDocumentConverter"
method="constructMessageFromDatabase" />
                <to uri="direct:inboundEndpoint" />


As you can see I'm using the mybatis component as a poller.

NOw, how can I pass in a variable to 'fetchMessagesReadyForDelivery' method
? This will help me pass in different value to the method without having to
re-write similar DAO methods. I've just one variable(parameter) that this
method expects


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

View raw message