Search in sources :

Example 1 with TAzureStorageQueueInputLoopProperties

use of org.talend.components.azurestorage.queue.tazurestoragequeueinputloop.TAzureStorageQueueInputLoopProperties in project components by Talend.

the class AzureStorageQueueInputLoopReaderTestIT method setupBeforeClass.

@BeforeClass
public static void setupBeforeClass() throws Exception {
    properties = new TAzureStorageQueueInputLoopProperties("test");
    properties.setupProperties();
    source = new AzureStorageQueueSource();
    source.initialize(null, properties);
    reader = (AzureStorageQueueInputLoopReader) source.createReader(null);
}
Also used : TAzureStorageQueueInputLoopProperties(org.talend.components.azurestorage.queue.tazurestoragequeueinputloop.TAzureStorageQueueInputLoopProperties) AzureStorageQueueSource(org.talend.components.azurestorage.queue.runtime.AzureStorageQueueSource) BeforeClass(org.junit.BeforeClass)

Example 2 with TAzureStorageQueueInputLoopProperties

use of org.talend.components.azurestorage.queue.tazurestoragequeueinputloop.TAzureStorageQueueInputLoopProperties in project components by Talend.

the class AzureStorageQueueInputLoopReaderTest method setup.

@Before
public void setup() throws IOException {
    properties = new TAzureStorageQueueInputLoopProperties(PROP_ + "QueueInputLoopReader");
    properties.setupProperties();
    properties.connection = getValidFakeConnection();
    properties.queueName.setValue("some-queue-name");
}
Also used : TAzureStorageQueueInputLoopProperties(org.talend.components.azurestorage.queue.tazurestoragequeueinputloop.TAzureStorageQueueInputLoopProperties) Before(org.junit.Before)

Aggregations

TAzureStorageQueueInputLoopProperties (org.talend.components.azurestorage.queue.tazurestoragequeueinputloop.TAzureStorageQueueInputLoopProperties)2 Before (org.junit.Before)1 BeforeClass (org.junit.BeforeClass)1 AzureStorageQueueSource (org.talend.components.azurestorage.queue.runtime.AzureStorageQueueSource)1