40. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/24/2017 5:17:19 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

40.1 Files compared

# Location File Last Modified
1 MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_user\mhv-usermgmt-portal-api\src\main\java\gov\va\med\mhv\usermgmt\mvi\client JmsMviTreatmentFacilityUpdateClient.java Fri Oct 7 19:20:08 2016 UTC
2 MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_user\mhv-usermgmt-portal-api\src\main\java\gov\va\med\mhv\usermgmt\mvi\client JmsMviTreatmentFacilityUpdateClient.java Fri Mar 24 20:38:35 2017 UTC

40.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 104
Changed 1 2
Inserted 0 0
Removed 0 0

40.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

40.4 Active regular expressions

No regular expressions were active.

40.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.m hv.usermgm t.mvi.clie nt;
  5  
  6   import jav ax.jms.JMS Exception;
  7   import jav ax.jms.Mes sage;
  8  
  9   import org .apache.lo gging.log4 j.LogManag er;
  10   import org .apache.lo gging.log4 j.Logger;
  11   import org .springfra mework.jms .core.JmsT emplate;
  12   import org .springfra mework.jms .core.Mess agePostPro cessor;
  13  
  14   import gov .va.med.mh v.common.a pi.dto.Pat ientDTO;
  15   import gov .va.med.mh v.common.a pi.excepti on.MHVExce ption;
  16   import gov .va.med.mh v.usermgmt .service.M viTreatmen tFacilityU pdator;
  17  
  18   /**
  19    * @author   PII
  20    *
  21    */
  22   public cla ss JmsMviT reatmentFa cilityUpda teClient i mplements  MviTreatme ntFacility Updator {
  23           
  24           pr otected st atic final  Logger LO GGER = Log Manager.ge tLogger(Jm sMviTreatm entFacilit yUpdateCli ent.class) ;
  25           
  26           pr ivate JmsT emplate jm sTemplate;
  27           
  28           @O verride
  29           pu blic void  updateTrea tmentFacil itiesForEx istingPati ents(Patie ntDTO pati entDTO) th rows MHVEx ception {
  30                    
  31                    try  {
  32                             
  33                             this.j msTemplate .convertAn dSend(pati entDTO, ne w MessageP ostProcess or() {
  34                                      
  35                                      @Overrid e
  36                                      public M essage pos tProcessMe ssage(Mess age messag e) throws  JMSExcepti on {
  37                                               message.se tStringPro perty("Jav aType", "P atientDTO" );
  38                                               return mes sage;
  39                                      }
  40                             });
  41                    } ca tch ( Exce ption ex )  {
  42                             String  message =  "Error se nding Pati entDTO asy nchronousl y.";
  43                             LOGGER .error(mes sage);
  44                             throw  new MHVExc eption(mes sage, ex);
  45                    }
  46                    
  47           }
  48           
  49           pu blic void  setJmsTemp late(JmsTe mplate jms Template)  {
  50                    this .jmsTempla te = jmsTe mplate;
  51           }
  52  
  53   }