com.genexus.messaging.queue.azure.AzureQueueFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxqueue-azure Show documentation
Show all versions of gxqueue-azure Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
The newest version!
package com.genexus.messaging.queue.azure;
import com.genexus.GXBaseCollection;
import com.genexus.SdtMessages_Message;
import com.genexus.diagnostics.core.ILogger;
import com.genexus.diagnostics.core.LogManager;
import com.genexus.messaging.queue.SimpleMessageQueue;
import com.genexus.services.ServiceConfigurationException;
import org.apache.commons.lang.NotImplementedException;
public class AzureQueueFactory {
private static ILogger logger = LogManager.getLogger(AzureQueueFactory.class);
public SimpleMessageQueue connect(String queueName, String queueUrl, GXBaseCollection[] errorMessagesArr, boolean[] success) {
throw new NotImplementedException();
}
private static void handleConnectionError(GXBaseCollection errMessages, ServiceConfigurationException e) {
logger.error("Failed to connect to AWS SQS Queue", e);
SdtMessages_Message msg = new SdtMessages_Message();
msg.setgxTv_SdtMessages_Message_Description(e.getMessage());
msg.setgxTv_SdtMessages_Message_Type((byte) 1);
errMessages.add(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy