com.consol.citrus.jms.endpoint.JmsEndpoint Java Examples
The following examples show how to use
com.consol.citrus.jms.endpoint.JmsEndpoint.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EndpointModelConverterTest.java From citrus-admin with Apache License 2.0 | 6 votes |
@DataProvider public Object[][] converterData() { return new Object[][] { new Object[] {new JmsEndpointModelConverter(), new JmsEndpointModel(), new JmsEndpoint(), "jms().asynchronous()"}, new Object[] {new ChannelEndpointModelConverter(), new ChannelEndpointModel(), new ChannelEndpoint(), "channel()"}, new Object[] {new CamelEndpointModelConverter(), new CamelEndpointModel(), new CamelEndpoint(), "camel()"}, new Object[] {new VertxEndpointModelConverter(), new VertxEndpointModel(), new VertxEndpoint(), "vertx()"}, new Object[] {new HttpClientModelConverter(), new HttpClientModel(), new HttpClient(), "http().client()"}, new Object[] {new HttpServerModelConverter(), new HttpServerModel(), new HttpServer(), "http().server()"}, new Object[] {new WebServiceClientModelConverter(), new WebServiceClientModel(), new WebServiceClient(), "soap().client()"}, new Object[] {new WebServiceServerModelConverter(), new WebServiceServerModel(), new WebServiceServer(), "soap().server()"}, new Object[] {new WebSocketClientModelConverter(), new WebSocketClientModel(), new WebServiceClient(), "websocket().client()"}, new Object[] {new WebSocketServerModelConverter(), new WebSocketServerModel(), new WebSocketServer(), "websocket().server()"}, new Object[] {new FtpClientModelConverter(), new FtpClientModel(), new FtpClient(), "ftp().client()"}, new Object[] {new FtpServerModelConverter(), new FtpServerModel(), new FtpServer(), "ftp().server()"}, new Object[] {new JdbcServerModelConverter(), new JdbcServerModel(), new JdbcServer(), "jdbc().server()"}, new Object[] {new SshClientModelConverter(), new SshClientModel(), new SshClient(), "ssh().client()"}, new Object[] {new SshServerModelConverter(), new SshServerModel(), new SshServer(), "ssh().server()"}, new Object[] {new RmiClientModelConverter(), new RmiClientModel(), new RmiClient(), "rmi().client()"}, new Object[] {new RmiServerModelConverter(), new RmiServerModel(), new RmiServer(), "rmi().server()"}, new Object[] {new JmxClientModelConverter(), new JmxClientModel(), new JmxClient(), "jmx().client()"}, new Object[] {new JmxServerModelConverter(), new JmxServerModel(), new JmxServer(), "jmx().server()"}, new Object[] {new MailClientModelConverter(), new MailClientModel(), new MailClient(), "mail().client()"}, new Object[] {new MailServerModelConverter(), new MailServerModel(), new MailServer(), "mail().server()"} }; }
Example #2
Source File: AMQToHttp_IT.java From syndesis with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint todoJms() { return new JmsEndpointBuilder() .connectionFactory(connectionFactory()) .destination("todos") .build(); }
Example #3
Source File: HttpToAMQ_IT.java From syndesis with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint todoJms() { return new JmsEndpointBuilder() .connectionFactory(connectionFactory()) .destination("todos") .build(); }
Example #4
Source File: GetBeanDefinitionConfig.java From citrus-admin with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint jmsInboundEndpoint() { return CitrusEndpoints .jms() .asynchronous() .destination("jms.inbound.queue") .build(); }
Example #5
Source File: GetBeanDefinitionConfig.java From citrus-admin with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint jmsOutboundEndpoint() { return CitrusEndpoints .jms() .asynchronous() .destination("jms.outbound.queue") .build(); }
Example #6
Source File: SpringJavaConfigServiceTest.java From citrus-admin with Apache License 2.0 | 5 votes |
@Test public void testGetBeanNames() throws Exception { List<String> names = springJavaConfigService.getBeanNames(GetBeanDefinitionConfig.class, project, JmsEndpoint.class); Assert.assertEquals(names.size(), 2L); Assert.assertTrue(names.stream().anyMatch(name -> name.equals("jmsInboundEndpoint"))); Assert.assertTrue(names.stream().anyMatch(name -> name.equals("jmsOutboundEndpoint"))); names = springJavaConfigService.getBeanNames(GetBeanDefinitionConfig.class, project, WebServiceClient.class); Assert.assertEquals(names.size(), 0L); names = springJavaConfigService.getBeanNames(GetBeanDefinitionConfig.class, project, TestActor.class); Assert.assertEquals(names.size(), 1L); Assert.assertTrue(names.stream().anyMatch(name -> name.equals("testActor"))); }
Example #7
Source File: JavaConfig.java From citrus-admin with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint sampleEndpoint() { return CitrusEndpoints .jms() .asynchronous() .destination("jms.inbound.queue") .build(); }
Example #8
Source File: EndpointConfig.java From camelinaction2 with Apache License 2.0 | 5 votes |
/** * Citrus JMS endpoint * do a sync request/reply over JMS on the queue named order.status with a timeout of 10 seconds */ @Bean public JmsEndpoint statusEndpoint() { return CitrusEndpoints.jms().synchronous() .connectionFactory(jmsConnectionFactory()) .destination("order.status") .timeout(10000L) .build(); }
Example #9
Source File: Simulator.java From citrus-simulator with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint simulatorJmsStatusEndpoint() { return CitrusEndpoints.jms() .asynchronous() .destination(statusDestinationName) .connectionFactory(connectionFactory()) .build(); }
Example #10
Source File: SimulatorJmsIT.java From citrus-simulator with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint simulatorInboundEndpoint() { return CitrusEndpoints.jms() .asynchronous() .connectionFactory(connectionFactory()) .destination("Fax.Inbound") .build(); }
Example #11
Source File: SimulatorJmsIT.java From citrus-simulator with Apache License 2.0 | 5 votes |
@Bean public JmsEndpoint simulatorStatusEndpoint() { return CitrusEndpoints.jms() .asynchronous() .connectionFactory(connectionFactory()) .destination("Fax.Status") .build(); }
Example #12
Source File: JmsEndpointModelConverter.java From citrus-admin with Apache License 2.0 | 4 votes |
/** * Default constructor. */ public JmsEndpointModelConverter() { super(JmsEndpointModel.class, JmsEndpoint.class, JmsEndpointConfiguration.class); addDecorator(new AbstractModelConverter.MethodCallDecorator("destinationName", "destination")); }
Example #13
Source File: JmsEndpointModelConverter.java From citrus-admin with Apache License 2.0 | 4 votes |
@Override public JmsEndpointModel convert(String id, JmsEndpoint model) { JmsEndpointModel converted = convert(model); converted.setId(id); return converted; }
Example #14
Source File: AbstractFaxScenario.java From citrus-simulator with Apache License 2.0 | 2 votes |
/** * Gets the statusEndpoint. * * @return */ public JmsEndpoint getStatusEndpoint() { return statusEndpoint; }