Re: [HAPI-devel] Callback

2009-06-22 Thread Asanka Abeysinghe
Hi, Any one has a workaround for the following scenario. Thx - Asanka Asanka Abeysinghe wrote: Hi James, Basically I want to get the output stream from the server socket and pass it to another process to construct the ack and response. So basically the callback will not return an

Re: [HAPI-devel] Callback

2009-06-02 Thread Asanka Abeysinghe
stand this request. You are looking to send the ACK on a different socket? Or you want to have a different thread provide the ACK than the one that processes the message? Could you clarify the workflow a bit? Cheers, James On Sat, May 30, 2009 at 11:24 PM, Asanka Abeysinghe <asanka

[HAPI-devel] Callback

2009-05-30 Thread Asanka Abeysinghe
Hi, In the default usage of HAPI once we register a callback it is must to return the ACK on the same channel. I need to process the message and ACK later. Is there a way to do that and is it possible to get the output stream we need to response from the API. Thx - Asanka

Re: [HAPI-devel] Code Gen

2009-05-26 Thread Asanka Abeysinghe
skips the sourcegen modules and only builds the core library. Make sense? James On Mon, May 25, 2009 at 9:18 AM, Asanka Abeysinghe <asanka.abeysin...@gmail.com> wrote: Please ignore the previous message I found the mojo inside the hapi-sourcegen module. But when I try to codegen using

[HAPI-devel] Code Gen

2009-05-25 Thread Asanka Abeysinghe
d line, specify: '-Dsourcegen.jdbcUrl.old=VALUE' why we need a jdbc url , is it the place that the message specifications pick ? How do I configure this. Regards Asanka Asanka Abeysinghe wrote: > Hi , > I'm getting the error 'The plugin 'ca.uhn.hapi:hapi-sourcegen' d

Re: [HAPI-devel] Error message handling

2009-05-25 Thread Asanka Abeysinghe
Hi , I'm getting the error 'The plugin 'ca.uhn.hapi:hapi-sourcegen' does not exist or no valid version could be found' , what is the mojo repo I should use? I'm using the original pom files in the HAPI source. Thx - Asanka ---

[HAPI-devel] Mandatory fields to parse a message

2009-05-22 Thread Asanka Abeysinghe
Hi, Is there any material that describes the mandatory fields required to parse a HL7 message by using HAPI api. Thx - Asanka -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech

Re: [HAPI-devel] Error message handling

2009-05-21 Thread Asanka Abeysinghe
Cheers, James On Thu, May 21, 2009 at 8:12 AM, Asanka Abeysinghe <asanka.abeysin...@gmail.com> wrote: Hi Roger, Thank you for the response, nice blog post. Problem that I have is I want to construct the ACK with a ERR segment from scratch, that I don't have a original message

Re: [HAPI-devel] Error message handling

2009-05-21 Thread Asanka Abeysinghe
Hi Roger, Thank you for the response, nice blog post. Problem that I have is I want to construct the ACK with a ERR segment from scratch, that I don't have a original message at the point I know only an error happen after forwarding the original message. Any clue on constructing the message

[HAPI-devel] Error message handling

2009-05-20 Thread Asanka Abeysinghe
Hi, How do we handle Errors, using a ACK with a ERR segment ? what is the support for this in HAPI library. Regards Asanka -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing opt

Re: [HAPI-devel] SimpleServer status

2009-05-19 Thread Asanka Abeysinghe
+1 for isRunning(), - Asanka James Agnew wrote: I agree 100%. There are now two methods that provide the same functionality (keepRunning() and isRunning()). I've deprecated the former and added some javadoc to explain the change. Certainly prevailing conventions would dictate that the met

Re: [HAPI-devel] SimpleServer status

2009-05-19 Thread Asanka Abeysinghe
t/sfu/businessobjects ___ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel Asanka Abeysinghe wrote: Getting JMX support implemented to the serv

Re: [HAPI-devel] SimpleServer status

2009-05-19 Thread Asanka Abeysinghe
Getting JMX support implemented to the server is the ideal solution, do we already have JMX support for HAPI ? (Sorry I'm new to the library). If you want to use a WEB interface why not use Monit, that will do all the operations you required and provide a nice UI. > - Asanka > Peter Gershkovich