Hi,

please create a JIRA ticket and attach the complete test message you're using.

Thanks,
Martin

Am 12.05.2010 19:20, schrieb faushouse:
ActiveMQ = 5.3.0 and Camel = 2.0 (bundled) and HAPI 0.6 and Mina 1.1.7


faushouse wrote:
The size of the file is 329 bytes, so way under the 1024 issue.

Lee


Claus Ibsen-2 wrote:
Hi

What version are you using? Could you try with latest version.


I remember the IPF guys fixes some issues with cutting after 1024 char
or something like that
http://gforge.openehealth.org/gf/project/ipf/



On Wed, May 12, 2010 at 6:55 PM, faushouse<leef...@me.com>  wrote:
I have a route built in Camel

camel.xml

<endpoint id="demomllp"
uri="mina:tcp://localhost:42000?sync=true&amp;codec=#hl7codec"/>

properties

<bean id="hl7codec" class="org.apache.camel.component.hl7.HL7MLLPCodec">
        </bean>

dsl

from("demomllp")
                .to("fakeack");

public String fakeACK(byte[] msg) {
        String body = new String(msg);
        StompFrame message = null;
        System.out.println("Inbound Message");

System.out.println("vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv");
        try {
            System.out.println(body);

I am not getting the full mllp message block.  I have verified that the
start and stop blocks are correct.

Connecting system 10.0.1.15:42000... System 10.0.1.15:42000 connected.
Send
message...
<0x0b>MSH|^~\&|INVISION|SMS|APP1|APP|201002080005||ADT^A08|QP0210062-793942|P|2.3<0x0d>
PID|||1853286^^^^MR^1||JOHNSON^JOHN||20070922|M||W|1234 MAIN
ST^^CHICAGO^IL^27608|||||||65112465^^^^PN|999999999<0x0d>
PV1||E|605||||680009^EMERGENCY^PHYSICIA^N||||||||||||||||||||||||||||||||605|||||201003022238<0x0d>
ZP1||670004^PEDIATRIC^DOCTO^R|N<0x0d>  <0x0d>  <0x1c><0x0d>

I get the full ZP1 segment and then it munges some of the PV1 segment to
the
end.

Inbound Message
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
ZP1||670004^PEDIATRIC^DOCTO^R|NPHYSICIA^N||||||||||||||||||||||||||||||||605|||||201003022238465^^^^PN|999999999
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Any help is greatly appreciated.

--
View this message in context:
http://old.nabble.com/HL7-with-Mina-Camel-and-ActiveMQ-tp28538368p28538368.html
Sent from the Camel - Users (activemq) mailing list archive at
Nabble.com.




--
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus




Reply via email to