Produced by Araxis Merge on 4/5/2017 4:26:30 PM Central 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\working_scrub\Unredacted\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt\stub\adapter\announce\data | PatientConsentBatchAnnounce.java | Wed Feb 1 18:37:28 2017 UTC |
| 2 | eHX-CIF.zip\eHX-CIF\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt\stub\adapter\announce\data | PatientConsentBatchAnnounce.java | Mon Apr 3 14:09:40 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 86 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | /** | |
| 2 | * | |
| 3 | */ | |
| 4 | package go v.va.nvap. svc.consen tmgmt.stub .adapter.a nnounce.da ta; | |
| 5 | ||
| 6 | import gov .va.med.nh in.adapter .announce. BatchAnnou nceType; | |
| 7 | ||
| 8 | import jav ax.jms.JMS Exception; | |
| 9 | import jav ax.jms.Mes sage; | |
| 10 | import jav ax.jms.Ses sion; | |
| 11 | ||
| 12 | import org .springfra mework.bea ns.factory .annotatio n.Required ; | |
| 13 | import org .springfra mework.jms .core.JmsT emplate; | |
| 14 | import org .springfra mework.jms .core.Mess ageCreator ; | |
| 15 | ||
| 16 | /** | |
| 17 | * @author DN S SCHRAS | |
| 18 | * | |
| 19 | */ | |
| 20 | public cla ss Patient ConsentBat chAnnounce { | |
| 21 | Jm sTemplate jmsTemplat e; | |
| 22 | ||
| 23 | pu blic void batchAnnou nce(final String[] b atchIds, f inal Strin g user, | |
| 24 | final String fac ility) { | |
| 25 | fina l BatchAnn ounceType announceme nt = new B atchAnnoun ceType(); | |
| 26 | anno uncement.s etBatchIds (batchIds) ; | |
| 27 | anno uncement.s etUser(use r); | |
| 28 | anno uncement.s etFacility (facility) ; | |
| 29 | anno uncement.s etMaxBatch Size(1000) ; | |
| 30 | this .jmsTempla te.send(ne w MessageC reator() { | |
| 31 | @Overr ide | |
| 32 | public Message c reateMessa ge(final S ession ses sion) | |
| 33 | throws JMS Exception { | |
| 34 | final Me ssage msg = session. createObje ctMessage( announceme nt); | |
| 35 | return m sg; | |
| 36 | } | |
| 37 | }); | |
| 38 | } | |
| 39 | ||
| 40 | @R equired | |
| 41 | pu blic void setJmsTemp late(final JmsTempla te jmsTemp late) { | |
| 42 | this .jmsTempla te = jmsTe mplate; | |
| 43 | } | |
| 44 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.