camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-9416) Creation of Camel-MLLP component
Date Mon, 21 Dec 2015 21:05:46 GMT


ASF GitHub Bot commented on CAMEL-9416:

GitHub user hqstevenson opened a pull request:

    CAMEL-9416 - Creation of camel-mllp component


You can merge this pull request into a Git repository by running:

    $ git pull CAMEL-9416

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #742
commit c6ac1dcdc5c4595ad959642cb1d72bad418944a6
Author: hqstevenson <>
Date:   2015-12-04T19:17:12Z

    Initial commit

commit 84e66b4a2f454430d082368698c0fffc1bc017a4
Author: Quinn Stevenson <>
Date:   2015-12-04T19:21:54Z

    Initial commit

commit 7592b3d3f1e617d6b1f3b68e968b9e2cc0e83a7d
Author: Quinn Stevenson <>
Date:   2015-12-07T16:06:30Z

    Disabled came-package-maven-plugin for now since it breaks mvn install and I can't figure
out how to make it happy

commit 5f58525f4f550dc605e93fb71c22696ab0083214
Author: Quinn Stevenson <>
Date:   2015-12-07T16:20:36Z

    Added ASF Headers

commit 597b1b6f22744d92caba77b5dbba1187d9e2516d
Author: Quinn Stevenson <>
Date:   2015-12-07T16:22:13Z

    Added exceptions for MLLP AE and AR Acknowlegements

commit b15da0cd473c294051e72c8b741fbd66beb5b338
Author: Jamie Goodyear <>
Date:   2015-12-07T17:40:18Z


commit 05653d858c3f5c902d0ffb3816e8a5ecd32493e4
Author: Quinn Stevenson <>
Date:   2015-12-07T18:00:16Z

    Updated project to work with Camel build system

commit b31e0b3c3c46ff3722993676283abd275d1fde9e
Author: Quinn Stevenson <>
Date:   2015-12-07T18:00:40Z

    Merge branch 'master' of

commit 0ab5a35a990a75497ef19b115de5916454fedd1a
Author: Quinn Stevenson <>
Date:   2015-12-07T18:04:40Z

    Removed Pronoia from test package names

commit 35dd62423ea9958256db4b4d9032e9db35136a69
Author: Quinn Stevenson <>
Date:   2015-12-07T18:16:11Z

    Copy/Paste error - changed twitter to mllp in POM

commit bda1a11e96a2ad74bf63ef5d470b26f1d1de954e
Author: Quinn Stevenson <>
Date:   2015-12-07T21:38:13Z

    Moved TCP MLLP operations to utility class

commit 3ef74ae69117e6bc3922000aa8d9cd6568b3081b
Author: Quinn Stevenson <>
Date:   2015-12-08T00:02:46Z

    Refactored Tests

commit 067f68809759e6122cf51b54502af3c1adf5327e
Author: Quinn Stevenson <>
Date:   2015-12-09T19:47:28Z

    Refactored TCP code to eliminate duplication

commit 5cf9b09667e2c4888935a1aca096cacd16cb44ae
Author: Quinn Stevenson <>
Date:   2015-12-09T21:09:10Z

    Producer now throws exceptions for negative acknowledgements

commit 498b7616f478c085afdf52aeb4656068d449491a
Author: Quinn Stevenson <>
Date:   2015-12-11T05:46:32Z

    Reworked MLLP code to include out-of-frame data in exceptions

commit 18be5a3cfd2bae90fad835d0dccf34b708582a47
Author: Quinn Stevenson <>
Date:   2015-12-11T07:38:55Z

    Updated the with a description, rationalization and some MLLP background information

commit 180bee30b88f57cff1328ce0c8b7a02f01ad81b1
Author: Quinn Stevenson <>
Date:   2015-12-13T06:48:51Z

    Added an InputStream.available() check in the AcceptThread where it's checking for a load
balancer probe

commit 4b38307ba1af34f7a72407c4e34cbba0a0dfb48e
Author: Quinn Stevenson <>
Date:   2015-12-13T08:49:00Z

    Cleaned-up some test code and added some javadocs

commit ba2733f00fceaba78f01f5152bdd18476db4a34a
Author: Quinn Stevenson <>
Date:   2015-12-13T17:58:07Z

    Refactored tests to use common test data, and added stubs for work in progress

commit c276934a366ec983d7c8c21baf568145c9ec5914
Author: Quinn Stevenson <>
Date:   2015-12-14T06:49:04Z

    Added shells for the basic RouteBuilders and Tests

commit 42fa8064a69de08eda7955581d267dc5cd8252be
Author: jgoodyear <>
Date:   2015-12-14T18:54:39Z

    Updating to follow Camel 2.16.x branch version

commit ee3cac44f1e375a82e91ade0dd8bd2270e14e68a
Author: jgoodyear <>
Date:   2015-12-14T19:30:59Z

    Updating pom to build OSGi friendly Camel-MLLP jar

commit c87ffdee9736cb780a65d73e770da3160e93353e
Author: jgoodyear <>
Date:   2015-12-14T19:34:55Z

    Creating CamelPatches folder for assorted Apache Camel updates

commit a9c9f2e16b644e3f4e50642bf35a839bebec354d
Author: jgoodyear <>
Date:   2015-12-14T19:38:28Z

    Adding listing for CamelPatches folder

commit d58014e2f0acd7876c4761cd26d5473140b2dcb0
Author: Quinn Stevenson <>
Date:   2015-12-14T19:45:43Z

    Updated readme and added some constants for Exchange property and Message header names

commit 4ee301b3e205e32deea1238b2c8fc688ce604580
Author: Quinn Stevenson <>
Date:   2015-12-14T19:45:47Z

    Merge branch 'master' of

commit e68be1cfdf20ce53bf2b2e43191b05f6f3d005db
Author: jgoodyear <>
Date:   2015-12-14T21:06:20Z

    Update for Camel's parent pom

commit ad976a54d189d6ff7ff61442baa168fea2eb271b
Author: jgoodyear <>
Date:   2015-12-14T21:06:36Z

    Merge branch 'master' of

commit a5828d1f30f5d633d3dca19810bf570b760a83ba
Author: jgoodyear <>
Date:   2015-12-14T21:14:01Z

    Add component to distribution

commit 4df329d27e1bee407d6ed39892f8a1aafae733c6
Author: jgoodyear <>
Date:   2015-12-14T21:15:06Z

    Update ReadMe file's info on common-bin.xml


> Creation of Camel-MLLP component
> --------------------------------
>                 Key: CAMEL-9416
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.16.1
>            Reporter: Jamie goodyear
> The camel-mllp component is specifically designed to handle the nuances of the MLLP protocol
and provide the functionality required by Healthcare providers to communicate with other systems
using the MLLP protocol.
> The component is capable of handling both byte[] and String payloads which allows using
other HL7 Libraries (i.e. HAPI) to parse the messages. When String payloads are specified,
the component will use the systems default Charset for encoding/decoding, but this can be
> The component provides a simple URI for configuring MLLP endpoints: MLLP-Producers: to(
"mllp://:" ) MLLP-Consumers: from("mllp://:) to listen on a specific address from("mllp://port")
to listen on all local addresses
> MLLP-Producers also interrogate the HL7 Acknowledgment received from the external system
and if a negative acknowledgment is received, the producer sets an exception on the exchange
indicating the type of negative acknowledgement that was received (i.e. a HL7 Application
Reject Acknowledgement or a HL7 Application Error Acknowledgement). This enables the use of
Camel Redelivery Policies to configure redelivery attempts and routing erroneous messages
to alternate endpoints for analysis.
> MLLP-Consumers will, by default, automatically generate an acknowledgement (a HL7 Application
Accept Acknowledgment for successfully processed messages, or a HL7 Application Error Acknowledgement
for messages where an exception is generated). This behaviour can be disabled with the autoAck=false
URI parameter, which allows the user to generated their own HL7 Acknowledgment.
> The component also provides a Camel Processor that is capable of generating HL7 Acknowledgements.
Therefore, the HAPI is not required to generate HL7 Acknowledgements - however, it can be
used if desired.
> By default, the processor will generate a HL7 Application Accept Acknowledgement if there
is not an exception on the Camel Exchange - otherwise it will generate a HL7 Application Error
Acknowledgement. The generated acknowledgement is placed in the "Out" Message of the Exchange
by default in order to preserve the original HL7 message for later processing (i.e. log the
HL7 message and the acknowledgment together).
> Since the MLLP protocol does not typically use a large number of concurrent connections,
the camel-mllp component uses a simple thread-per-connection model based an standard Java
Sockets. This keeps the implementation simple, and also eliminates the dependencies on other
camel components.
> An initial code base has been developed here:

This message was sent by Atlassian JIRA

View raw message