Hi,
I have a custom log formatter and want to call that through Camel.
LogFormat format = new LogFormat("identity", "component", "subcomponent");
FilterLogger logger = new UniversalFilterLogger(format);
logger.debug("testHello", "testing"); //this debug method internally calls
log4j logger.debug
I have solved the mentioned issue using http component and Rest @RequestBody,
*Route:*
${body}
application/json; charset=UTF-8
${body}
*My service will be like,*
@RequestMapping(value="/service",consumes="application/json", method =
{RequestMethod.POST, RequestMethod.GET})
public
Hi Team,
I need to pass a Java model object to rest webservice using camel http
component. Please provide me some pointers on how to achieve it.
something in the route like,
and since no other way is available to add dynamic url parameters we need to
pass it through set headers like,
I tried exploring the code and what I found was,
The HBaseData from mappingStrategy is not having column name, column family
details in HRow
CellMappingStrategy mappingStrategy =
endpoint.getCellMappingStrategyFactory().getStrategy(exchange.getIn());
HBaseData data =
Hi Team,
I'm using Camel Hbase component to put data into remote hbase but data is
getting inserted with value as null.
*Route*:
001
54321
*Data stored in table*
001 column=emp:empId, timestamp=1460498530077, value=
*Camel Hbase version*: 2.13.2
The exchange headers
Hi Ranx,
Thanks. I was able to send a Map object to the body using bean.
Converter class:
public Map myConverter(String toDisplay)
{
logger.debug("Invoking my converter for type
"+toDisplay.getClass().getName()+" toDisplay "+toDisplay);
Hi Ranx,
Thanks for the response.
I will not be able to pass any object type other string to setBody or
simpleExpression methods. I just want to pass a dynamic value to the route.
The message i'm getting is,
Message History
Hi,
I'm accessing a route through both producertemplate and a QuartzScheduler.
*Route:*
select * from table where empId=${in.body.EmpId}
*I'm able to successfully pass employee id using producer template like
below,*
Map bodyMap = new HashMap();
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Hive-Issue-tp5780522p5780842.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I was able to make it work with a older version of camel 2.13.2. But with the
2.16.1 version it is throwing this issue. Ideally I would be happy to
upgrade to a newer version of Camel if this issue could be addressed using
any higher version, instead of reverting back to a previous one.
--
View
I was able to make it work with a older version of camel 2.13.2. But with the
2.16.1 version it is throwing this issue.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Hive-Issue-tp5780522p5780613.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It is camel 2.16.1 version
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Hive-Issue-tp5780522p5780612.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I was trying to connect to hive through camel using jdbc and got
IllegalMonitorStateException. In exchange i was able to see the data fetched
from hive table but error was thrown when JDBCProducer tried to close the
result set.
*Logs:*
Message History
13 matches
Mail list logo