mirror of
https://github.com/apache/nifi.git
synced 2025-03-06 09:29:33 +00:00
NIFI-6885:
- Fixed bug when calling logUnbuildableDestination with "jms_destination" instead of actual destination name value Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #3895
This commit is contained in:
parent
0acdde827e
commit
ae2b3d6b45
@ -105,14 +105,14 @@ final class JMSPublisher extends JMSWorker {
|
||||
if (destination != null) {
|
||||
message.setJMSReplyTo(destination);
|
||||
} else {
|
||||
logUnbuildableDestination(entry.getKey(), JmsHeaders.REPLY_TO);
|
||||
logUnbuildableDestination(entry.getValue(), JmsHeaders.REPLY_TO);
|
||||
}
|
||||
} else if (entry.getKey().equals(JmsHeaders.DESTINATION)) {
|
||||
Destination destination = buildDestination(entry.getValue());
|
||||
if (destination != null) {
|
||||
message.setJMSDestination(destination);
|
||||
} else {
|
||||
logUnbuildableDestination(entry.getKey(), JmsHeaders.DESTINATION);
|
||||
logUnbuildableDestination(entry.getValue(), JmsHeaders.DESTINATION);
|
||||
}
|
||||
} else {
|
||||
// not a special attribute handled above, so send it as a property using the specified property type
|
||||
|
Loading…
x
Reference in New Issue
Block a user