Author |
Message
|
RocknRambo |
Posted: Thu Jul 07, 2005 2:50 pm Post subject: Plug-in Node |
|
|
Partisan
Joined: 24 Sep 2003 Posts: 355
|
can I get help some help in understanding a snippet from one of the Red Books
Quote: |
7.1 Description of Java plug-in nodes
Plug-in nodes, or custom nodes, can be written in C or Java. A broker extension
or plug-in parser can only be written in C. The files are then distributed as:
A shared object on UNIX systems, named with a filetype of .lil (loadable
implementation library).
A dynamic link library (DLL) on Windows systems, again with a filetype of .lil
A Java Archive file (JAR), with a filetype of .jar
The plug-in is loaded when the broker is initialized. Registration functions in the
plug-in are invoked so that the broker understands what nodes or parsers are
supported by the plug-in.
The programmer must avoid the use of operating system-specific functions. This
enables them to work on a variety of platforms with re-compilation only, without
any change to the source code.
Java can only be used to write plug-in processing nodes or input nodes. |
any directions for searching red book for plug-in nodes in C
-RR |
|
Back to top |
|
 |
EddieA |
Posted: Thu Jul 07, 2005 3:21 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
One of the first Red Books for MQSI had a major section on writing a PlugIn in C. It was SG24-6154 Business Integration Solutions with MQSeries Integrator.
I would image that there are others as well.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
kirani |
Posted: Fri Jul 08, 2005 9:54 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Take a look at SupportPac website. They have some plug-in nodes with source code in C language.
[Moving to WMQI Forum] _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
wbibrk |
Posted: Sat Jul 09, 2005 7:19 am Post subject: |
|
|
Apprentice
Joined: 09 Jul 2005 Posts: 46
|
Hi,
Take a look at the v2.1 Programming Guide which describes how to code C plugins. Also, v2.1 has sample code for a message parser and message processing node.
Both v5.0 and v2.1 is supplied with sample C code.
-- CeeCee |
|
Back to top |
|
 |
RocknRambo |
Posted: Sun Jul 10, 2005 7:24 pm Post subject: |
|
|
Partisan
Joined: 24 Sep 2003 Posts: 355
|
Besides my quesiton for direction for writing Plug-in Node in C...
can I get some clear light in two lines below..
Plug-in nodes, or custom nodes, can be written in C or Java.
Java can only be used to write plug-in processing nodes or input nodes
and good to see u Kirani.... back,
-RR |
|
Back to top |
|
 |
kirani |
Posted: Sun Jul 10, 2005 7:58 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
RocknRambo wrote: |
and good to see u Kirani.... back,
-RR |
Thanks!
To answer your questions,
You can write plug-in processing nodes (like MQGet, SendMail, etc) in C or Java language. But, if you are planning to write a plug-in input node then must use Java. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jul 11, 2005 2:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 11, 2005 11:03 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Yes, that's true.
Plug-in parsers - in C only
Plug-in processing nodes - C & Java
Plug-in Input Nodes - Java only
Am I missing anyting? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jul 11, 2005 11:06 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 11, 2005 1:27 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Yes. I forgot about that. thanks for catching it! _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
RocknRambo |
Posted: Mon Jul 11, 2005 3:32 pm Post subject: |
|
|
Partisan
Joined: 24 Sep 2003 Posts: 355
|
Now my question has gone back to square one....
This what I read in one of the RedBooks....(sg246579 - Developing Solutions in WebSphere MQ Integrator, chapter#7)
Plug-in nodes, or custom nodes, can be written in C or Java.
Java can only be used to write plug-in processing nodes or input nodes
so.. u think. there cud be a typo the publication.??
-RR |
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 11, 2005 4:46 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Nope! If you re-read the statement 5-10 times, you can see it from a different angle!
Quote: |
Java can only be used to write plug-in processing nodes or input nodes
|
As Jeff pointed out, you can write plug-in parsers in C language only. This means, you cannot use Java to write plug-in Parsers. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|