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 <[email protected]> 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
> 
> 

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

Reply via email to