Skip to content

Commit

Permalink
Minor fix for MessageLoggingService to allow empty string in property…
Browse files Browse the repository at this point in the history
… to print all headers.
  • Loading branch information
RobertOttesen committed May 6, 2020
1 parent fd3a755 commit 03409ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.solace.swim</groupId>
<artifactId>swim-feed-handler</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<name>swim-feed-handler</name>
<description>SWIM Feed Handler Spring Boot Application</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public class MessageLoggingServiceActivator implements IServiceActivator {
@Autowired
MessageLoggingService service;

@Value("${service.message-logging.header-remove-list:''}")
// jms_destination must be the minimal
@Value("#{'${service.message-logging.header-remove-list}'!=''?'${service.message-logging.header-remove-list}':'jms_destination'}")
String headersToRemove;

private final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss:SS'Z'").withZone(ZoneOffset.UTC);
Expand Down

0 comments on commit 03409ba

Please sign in to comment.