|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQAPI...implementation(MQSend & MQReceive interfaces) |
« View previous topic :: View next topic » |
Author |
Message
|
rajmq |
Posted: Mon Jan 13, 2003 1:16 am Post subject: MQAPI...implementation(MQSend & MQReceive interfaces) |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi,
I am using MQ5.2.1 for Our Application.
My requirment is purely Server To Server (MQServer) Communication using Channel Exit Most of the Redbooks gives the Good idea in writing the exit prog in C/C++.
But i want to Know How to implement MQJava API's? I checked that API class and also i got some interfaces (MQSend,MQRecevieExit).Using the above interface is it possible to do encryption and decryption?
i checked that sample code also
import com.ibm.mq.*;
class SendExit implements MQSendExit {
public byte[] sendExit(MQChannelExit channelExitParms,
MQChannelDefinition channelDefinition,
byte[] agentBuffer) {
System.out.println("send exit was called!!!");
return agentBuffer;
// your exit code goes here... ***But i don't what code i want to write here?............can anyone give me a some idea to implement?? }
}
Thanks in Advance
raj |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Jan 13, 2003 10:01 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
You cannot invoke MQ API calls while in an Exit. If you need to do MQ API calls then you will need to write a regular MQ application.
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
rajmq |
Posted: Tue Jan 14, 2003 9:29 pm Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
Hi Roger
Thansk for ur Reply
I am not able to understand ur Reply
"MQ API calls then you will need to write a regular MQ application. "
can u explain more?
thanks
raj |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Jan 14, 2003 9:49 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
If you reuire the use of MQ API calls (i.e. MQCONN, MQOPEN, MQGET, MQPUT, MQCLOSE & MQDISC) then you will need to write a regular MQ application (not an Exit).
later
Roger... _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|