Brian You are correct, at the moment it is somewhat static doe to the fact that for the routing key the ‘expressionLanguageSupported’ defaults to false. We can definitely make that change which would allow you to use NiFi Expression Language to make it dynamic. Please raise a JIRA ticket - https://issues.apache.org/jira/browse/NIFI, so we can take care of it.
Cheers Oleg On Jan 25, 2017, at 2:08 PM, BD International <b.deep.internatio...@gmail.com<mailto:b.deep.internatio...@gmail.com>> wrote: Hello, I am currently using nifi 1.0.0 to collect a number or different xml data types and publishing them onto rabbitmq. What I would like to do is dynamically set the rabbitmq routing key based on a field within the data but at the moment i can only set the rabbitmq routing key at configuration time. Can anyone suggest any how i could go about doing this? Ideally i would like be able to use the nifi expression language to set the routing key and exchange for the publishamqp processor. Thanks Brian