Search in sources :

Example 1 with ActiveMQUuidGenerator

use of org.apache.camel.impl.ActiveMQUuidGenerator in project camel by apache.

the class CamelContextFactoryBeanTest method testGetDefaultUuidGenerator.

public void testGetDefaultUuidGenerator() throws Exception {
    factory.setApplicationContext(new StaticApplicationContext());
    factory.afterPropertiesSet();
    UuidGenerator uuidGenerator = factory.getContext().getUuidGenerator();
    assertTrue(uuidGenerator instanceof ActiveMQUuidGenerator);
}
Also used : UuidGenerator(org.apache.camel.spi.UuidGenerator) SimpleUuidGenerator(org.apache.camel.impl.SimpleUuidGenerator) ActiveMQUuidGenerator(org.apache.camel.impl.ActiveMQUuidGenerator) StaticApplicationContext(org.springframework.context.support.StaticApplicationContext) ActiveMQUuidGenerator(org.apache.camel.impl.ActiveMQUuidGenerator)

Aggregations

ActiveMQUuidGenerator (org.apache.camel.impl.ActiveMQUuidGenerator)1 SimpleUuidGenerator (org.apache.camel.impl.SimpleUuidGenerator)1 UuidGenerator (org.apache.camel.spi.UuidGenerator)1 StaticApplicationContext (org.springframework.context.support.StaticApplicationContext)1