Monthly Archive: March 2014

Unit testing Active MQ 0

Unit testing Active MQ

In the Apache Active MQ web page you can find some recommendations when unit testing JMS (ActiveMQ provides all the features from the Java Message Service specification and adds many more): Use an embedded broker to...

How to create a Camel HL7 Listener 15

How to create a Camel HL7 Listener

This is an example of an HL7 listener. This application listens for Hl7 messages in a specific IP and port and returns an HL7 ACK message. I am going to explain step by step how...

A web service example to exchange HL7 messages using Apache CXF 1

A web service example to exchange HL7 messages using Apache CXF

This example shows you how to publish a web service using Apache CXF. There are two ways to develop a web service using JAX-WS front-end: Code-fist and contract-first. This example use the code-first approach,...

How to avoid Hibernate Lazy Initialization Exception 2

How to avoid Hibernate Lazy Initialization Exception

I have got the Lazy Initialization Exception problem so many times that I have decided to post everything I have learnt about it. During my research, I have found 3 ways to avoid Hibernate...

How to set repetitions in HL7 messages using HAPI Terser 2

How to set repetitions in HL7 messages using HAPI Terser

In the previous post How to use Hapi Terser with HL7 I published an example about how to retrieve field repetitions from an HL7 message. In this post I will show hot to set repetitions...

How to use Hapi Terser with HL7 7

How to use Hapi Terser with HL7

Hapi terser is the easiest way to extract and set data in a HL7 v2 messages. In the next example, I will show how to: Create a Terser form a String message Extract information...