Produced by Araxis Merge on 6/9/2017 3:50:57 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:50:57 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\main\java\gov\va\nvap\server\endpoint\pip | ConsentDirectiveMessageConsumer.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 47 |
| 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 | package go v.va.nvap. server.end point.pip; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.s ervice.pri vacy.Conse ntManageme ntService; | |||||
| 4 | ||||||
| 5 | import jav ax.annotat ion.Resour ce; | |||||
| 6 | import jav ax.ejb.Act ivationCon figPropert y; | |||||
| 7 | import jav ax.ejb.EJB ; | |||||
| 8 | import jav ax.ejb.Mes sageDriven ; | |||||
| 9 | import jav ax.ejb.Mes sageDriven Context; | |||||
| 10 | import jav ax.ejb.Tra nsactionMa nagement; | |||||
| 11 | import jav ax.ejb.Tra nsactionMa nagementTy pe; | |||||
| 12 | import jav ax.jms.Mes sage; | |||||
| 13 | import jav ax.jms.Mes sageListen er; | |||||
| 14 | ||||||
| 15 | /** | |||||
| 16 | * The con sumer for the queue where the consent di rective re quests are received | |||||
| 17 | * asynchr onously. T his is mos tly used i f eBenefit s likes to batch ann ounce | |||||
| 18 | * patient s to VAP. | |||||
| 19 | * | |||||
| 20 | * @author Asha Amri traj | |||||
| 21 | */ | |||||
| 22 | @MessageDr iven(mappe dName = "j ms.vap.Con sentDirect iveRequest Queue", ac tivationCo nfig = { | |||||
| 23 | @Act ivationCon figPropert y(property Name = "ac knowledgeM ode", prop ertyValue = "Auto-ac knowledge" ), | |||||
| 24 | @Act ivationCon figPropert y(property Name = "de stinationT ype", prop ertyValue = "javax.j ms.Queue") , | |||||
| 25 | @Act ivationCon figPropert y(property Name = "su bscription Durability ", propert yValue = " Durable"), | |||||
| 26 | @Act ivationCon figPropert y(property Name = "cl ientId", p ropertyVal ue = "Pati entAnnounc erMessageC onsumer"), | |||||
| 27 | @Act ivationCon figPropert y(property Name = "su bscription Name", pro pertyValue = "Patien tAnnouncer MessageCon sumer") }) | |||||
| 28 | @Transacti onManageme nt(value = Transacti onManageme ntType.BEA N) | |||||
| 29 | public cla ss Consent DirectiveM essageCons umer imple ments Mess ageListene r { | |||||
| 30 | ||||||
| 31 | @E JB(name = "ConsentMa nagementSe rvice", ma ppedName = "ConsentM anagementS ervice") | |||||
| 32 | Co nsentManag ementServi ce cms; | |||||
| 33 | ||||||
| 34 | pu blic Conse ntDirectiv eMessageCo nsumer() { | |||||
| 35 | } | |||||
| 36 | ||||||
| 37 | @O verride | |||||
| 38 | pu blic void onMessage( final Mess age messag e) { | |||||
| 39 | // T ODO: Imple ment async hronous pr ocessing o f authoriz e/revoke | |||||
| 40 | thro w new Unsu pportedOpe rationExce ption(); | |||||
| 41 | } | |||||
| 42 | ||||||
| 43 | @R esource | |||||
| 44 | pu blic void setContext (final Mes sageDriven Context co ntext) { | |||||
| 45 | } | |||||
| 46 | ||||||
| 47 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.