Hi Eric,

If its for the content viewer you might want to use mime.type. additionally you 
can use session.putAttribute(flowFile, “content-type”, "application/json”);

Regards,
Chris


On Dec 7, 2017, 8:10 PM -0600, Eric Chaves <[email protected]>, wrote:
> Hi guys,
>
> I'm trying to programatically set the content-type of a flow-file by calling 
> flowFile.putAttribute('content-type', 'application/json') but it's not 
> working.
>
> How can I change my flow-file content-type?
>
> Regards,
>
> Eric

Reply via email to