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 » IBM MQ API Support » MQAPI...implementation(MQSend & MQReceive interfaces)

Post new topic  Reply to topic
 MQAPI...implementation(MQSend & MQReceive interfaces) « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Mon Jan 13, 2003 1:16 am    Post subject: MQAPI...implementation(MQSend & MQReceive interfaces) Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Mon Jan 13, 2003 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rajmq
PostPosted: Tue Jan 14, 2003 9:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Tue Jan 14, 2003 9:49 pm    Post subject: Reply with quote

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
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 » IBM MQ API Support » MQAPI...implementation(MQSend & MQReceive interfaces)
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.