Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8392761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:36:08+00:00 2026-06-09T19:36:08+00:00

I am trying to make an update to a WebSphere Queue atomic and running

  • 0

I am trying to make an update to a WebSphere Queue atomic and running into the following problem: Once the _outPutQueue.Put() method is called an MQ Exception is thrown that simply says “MQRC_FUNCTION_NOT_SUPPORTED.” This happens because I’ve wrapped the method call inside a using (CommittableTransaction) block. If I take the method call outside of the block, it works fine. Is this a simply a limitation of writing to a Queue inside C#?

 using (CommittableTransaction transScope = new CommittableTransaction())
 {
      CommittableTransaction.Current = transScope;


      try
      {                        

          foreach (string agentItem in qSqlContents.Values)
          {
                // Define a WebSphere MQ message, writing some text in UTF format
                MQMessage mqMessage = new MQMessage();
                mqMessage.Write(StrToByteArray(agentItem));

                // Specify the message options
                MQPutMessageOptions pmo = new MQPutMessageOptions();

                // MQC.MQPMO_SYNCPOINT = provide transaction support for the Put.
                pmo.Options = MQC.MQPMO_SYNCPOINT;

                // Put the message on the queue
                _outputQueue.Put(mqMessage, pmo);
          }                       
       }
       catch (Exception)
       {
          transScope.Rollback();                        
       }
       finally
       {
          transScope.Commit();                        
       }
 }

As requested here is the full exception information:

MQRC_FUNCTION_NOT_SUPPORTED
Exception | System.Exception
     base {object} | object 
Non-Public members | 
     _COMPlusExceptionCode = -532459699
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:36:10+00:00Added an answer on June 9, 2026 at 7:36 pm

    Try this, there are a few tweaks which will speed things up in general, not 100% sure this will fix your issue, but it may help me diagnose it…

    // Specify the message options
    MQPutMessageOptions pmo = new MQPutMessageOptions();
    
    // MQC.MQPMO_SYNCPOINT = provide transaction support for the Put.
    pmo.Options = MQC.MQPMO_SYNCPOINT;
    CommittableTransaction transScope = new CommittableTransaction();
    CommittableTransaction.Current = transScope;    
    
    try
    {                            
        foreach (string agentItem in qSqlContents.Values)
        {
            // Define a WebSphere MQ message, writing some text in UTF format
            MQMessage mqMessage = new MQMessage();
            mqMessage.Write(StrToByteArray(agentItem));
    
            // Put the message on the queue
            _outputQueue.Put(mqMessage, pmo);
        }                       
    }
    catch (Exception)
    {
        transScope.Rollback();                        
    }
    finally
    {
        _outputQueue.close();
        transScope.Commit(); 
        transScope.Dispose();                       
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE: Trying to make a fiddle to reproduce the problem: http://jsfiddle.net/gY2JV/29/ END UPDATE I
Hi iam trying to make an update trigger in my database. But i get
i'm trying to make a ajax update in prototype with some values from a
I'm trying to make an AJAX form that will update a twitter status when
I'm trying to make a link to update twitter status with a link..but it
I'm trying to make a widget to my app, but it doesnt update. I
I trying to make method to alter table. I've build data.db Created new group
I'm trying to make category changes with Jquery & Php. I have no problem
I'm trying to make a simple Cocoa application where a number is input into
Im trying to make a trigger in mySQL that will update a colum with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.