Produced by Araxis Merge on 12/13/2018 10:35:31 AM Eastern Standard 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 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\service\jms | QueueMessageProducer.java | Fri Dec 7 17:36:38 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\service\jms | QueueMessageProducer.java | Wed Dec 12 19:46:45 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 132 |
| 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 | * Copyrii ght 2004 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | package go v.va.med.f w.service. jms; | |
| 5 | ||
| 6 | // Java cl asses | |
| 7 | import jav a.util.Pro perties; | |
| 8 | ||
| 9 | import gov .va.med.fw .service.S erviceExce ption; | |
| 10 | ||
| 11 | /** | |
| 12 | * Provide s a generi c interfac e to send data wrapp ed into a JMS Messag e object | |
| 13 | * to a de stination. A JMS Mes sage conta ins data a nd propert ies and th e specific | |
| 14 | * JMS mes sage type is determi ned based on the typ e of an in put data o bject. | |
| 15 | * | |
| 16 | * Project : Framewor k | |
| 17 | * | |
| 18 | * @author DN S
|
|
| 19 | * @versio n 1.0 | |
| 20 | */ | |
| 21 | public int erface Que ueMessageP roducer ex tends Mess ageProduce r { | |
| 22 | ||
| 23 | /* * | |
| 24 | * Sends a g eneric obj ect and th e specific set of st ring prope rties in a JMS | |
| 25 | * Message. The specif ic JMS Mes sage type is determi ned based on a data | |
| 26 | * object's class type . If a cla ss type is either a HL7 Messag e or a str ing, | |
| 27 | * a JMS Tex tMessage t ype is use d. If a cl ass type i s a Map, a JMS | |
| 28 | * MapMessag e type is used. If a class typ e is an ar ray of byt es, a JMS | |
| 29 | * BytesMess age type i s used. Ot herwise, a n ObjectMe ssage is u sed to wra p a | |
| 30 | * message d ata. | |
| 31 | * | |
| 32 | * @param da ta | |
| 33 | * An objec t to send to a messa ge queue | |
| 34 | * @param pr operties | |
| 35 | * A proper ties to se nd with a message | |
| 36 | * @param de liveryMode | |
| 37 | * A delive ry mode to send a me ssage whet her it is persistent or | |
| 38 | * not | |
| 39 | * @param pr iority | |
| 40 | * A proper ty to send a message | |
| 41 | * @param ti meToLive | |
| 42 | * A total time for a message t o live in a queue | |
| 43 | * @throws S erviceExce ption | |
| 44 | * Thrown if failed to send a message | |
| 45 | * / | |
| 46 | pu blic void send(Objec t object, Properties propertie s, int del iverymode, int prior ity, | |
| 47 | long t imeToLive) throws Se rviceExcep tion; | |
| 48 | ||
| 49 | /* * | |
| 50 | * Sends a g eneric obj ect and th e specific set of st ring prope rties in a JMS | |
| 51 | * Message. The specif ic JMS Mes sage type is determi ned based on a data | |
| 52 | * object's class type . If a cla ss type is either a HL7 Messag e or a str ing, | |
| 53 | * a JMS Tex tMessage t ype is use d. If a cl ass type i s a Map, a JMS | |
| 54 | * MapMessag e type is used. If a class typ e is an ar ray of byt es, a JMS | |
| 55 | * BytesMess age type i s used. Ot herwise, a n ObjectMe ssage is u sed to wra p a | |
| 56 | * message d ata. | |
| 57 | * | |
| 58 | * @param da ta | |
| 59 | * An objec t to send to a messa ge queue | |
| 60 | * @param pr operties | |
| 61 | * A proper ties to se nd with a message | |
| 62 | * @throws S erviceExce ption | |
| 63 | * Thrown if failed to send a message | |
| 64 | * / | |
| 65 | pu blic void send(Objec t object, Properties propertie s) throws ServiceExc eption; | |
| 66 | ||
| 67 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.