Re: Dynamically set the RabbitMQ routing key
All, NIFI-3223 has been raised. Thanks Brian On 25 Jan 2017 19:17, "Andy LoPresto" wrote: > Brian, > > I don’t see a reason why this field could not support Expression Language. > Please file a Jira requesting this feature [1]. > > [1] https://issues.apache.org/jira/browse/NIFI > > > Andy LoPresto > alopre...@apache.org > *alopresto.apa...@gmail.com * > PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > > On Jan 25, 2017, at 11:08 AM, BD International < > 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 > > >
Re: Dynamically set the RabbitMQ routing key
Brian, I don’t see a reason why this field could not support Expression Language. Please file a Jira requesting this feature [1]. [1] https://issues.apache.org/jira/browse/NIFI <https://issues.apache.org/jira/browse/NIFI> Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Jan 25, 2017, at 11:08 AM, BD International > 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 signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Dynamically set the RabbitMQ routing key
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 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
Dynamically set the RabbitMQ routing key
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