Jackson2JsonMessageParser
for Jackson 2.x.@Deprecated public class JacksonJsonMessageParser extends Object
JsonInboundMessageMapper.JsonMessageParser
implementation that parses JSON messages
and builds a Message
with the specified payload type from provided JsonInboundMessageMapper
.
Uses Jackson JSON-processor (@link http://jackson.codehaus.org).Constructor and Description |
---|
JacksonJsonMessageParser()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.jackson.JsonParser |
createJsonParser(String jsonMessage)
Deprecated.
|
Message<?> |
doInParser(JsonInboundMessageMapper messageMapper,
String jsonMessage) |
protected MessageBuilderFactory |
getMessageBuilderFactory() |
protected Message<?> |
parseWithHeaders(org.codehaus.jackson.JsonParser parser,
String jsonMessage)
Deprecated.
|
protected Object |
readHeader(P parser,
String headerName,
String jsonMessage) |
protected Object |
readPayload(P parser,
String jsonMessage) |
void |
setBeanFactory(BeanFactory beanFactory) |
protected org.codehaus.jackson.JsonParser createJsonParser(String jsonMessage) throws Exception
Exception
protected Message<?> parseWithHeaders(org.codehaus.jackson.JsonParser parser, String jsonMessage) throws Exception
Exception
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
protected MessageBuilderFactory getMessageBuilderFactory()
public Message<?> doInParser(JsonInboundMessageMapper messageMapper, String jsonMessage) throws Exception
doInParser
in interface JsonInboundMessageMapper.JsonMessageParser<P>
Exception
protected Object readPayload(P parser, String jsonMessage) throws Exception
Exception