ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Plug-in Node

Post new topic  Reply to topic
 Plug-in Node « View previous topic :: View next topic » 
Author Message
RocknRambo
PostPosted: Thu Jul 07, 2005 2:50 pm    Post subject: Plug-in Node Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Thu Jul 07, 2005 3:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Fri Jul 08, 2005 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wbibrk
PostPosted: Sat Jul 09, 2005 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
RocknRambo
PostPosted: Sun Jul 10, 2005 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Sun Jul 10, 2005 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Mon Jul 11, 2005 2:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kirani wrote:
But, if you are planning to write a plug-in input node then must use Java.


Ehh?

I thought you could only write custom parsers in C...

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/as09950_.htm
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/as09960_.htm
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/as10010_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 11, 2005 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Mon Jul 11, 2005 11:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kirani wrote:
Am I missing anyting?


Yes.

"Creating an input node in C"
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/as09960_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 11, 2005 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
RocknRambo
PostPosted: Mon Jul 11, 2005 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Mon Jul 11, 2005 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Plug-in Node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.