Skip to content

Commit

Permalink
Добавлена проверка на NULL, проявляется только при проведении ПТГ Мин…
Browse files Browse the repository at this point in the history
…цифры при подключении нового вида сведений ввиду специфики реализации эмулятора СМЭВ
  • Loading branch information
sergey-golovkin committed Jul 12, 2023
1 parent 021c216 commit f25b4dc
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
HELP.md
/target/
/ext_cpjcp/
/ext_smev/
/lib/
!.mvn/wrapper/maven-wrapper.jar

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
/build/

### VS Code ###
.vscode/

##my build
_build.cmd
_version.cmd
_commit.cmd
_tag.cmd
Empty file removed ext_cpjcp/.gitignore
Empty file.
Empty file removed ext_smev/.gitignore
Empty file.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-smev</artifactId>
<packaging>jar</packaging>
<version>3.1.8-1.20230701</version>
<version>3.1.8-1.20230712</version>
<name>camel-smev3</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ else if (conf.getBodyType().equals(Smev3Configuration.Smev3BodyType.SMEVMessage)

private void fillExchangeAttachments(Exchange exchange, SMEVMessage message) throws Exception
{
if(message != null && message.getData() != null)
if(message != null && message.getData() != null && message.getData().getAttachments() != null)
{
AttachmentMessage attachmentMessage = exchange.getIn(AttachmentMessage.class);
AttachmentsStrategy attachmentsStrategy = conf.getAttachmentsStrategy();
Expand Down

0 comments on commit f25b4dc

Please sign in to comment.