This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mule ...> | |
... | |
<!-- SAP & JDBC Configuration --> | |
<spring:bean id="sapProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<spring:property name="location" value="classpath:sap.properties"/> | |
</spring:bean> | |
<spring:bean id="jdbcProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<spring:property name="location" value="classpath:jdbc.properties"/> | |
</spring:bean> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mule ...> | |
... | |
<!-- SAP & JDBC Configuration --> | |
<spring:bean id="sapProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<!-- Added to support multiple placeholders --> | |
<spring:property name="ignoreUnresolvablePlaceholders" value="true" /> | |
<spring:property name="location" value="classpath:sap.properties"/> | |
</spring:bean> | |
<spring:bean id="jdbcProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[12-16 11:06:23] ERROR DefaultMuleApplication [WrapperListener_start_runner]: null | |
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jdbcDataSource' defined in URL [file:/Users/mariano/Development/sap-transport/mule-standalone-3.2.1-SNAPSHOT/apps/idocsender/mule-config.xml]: Could not resolve placeholder 'database.driver' | |
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:272) | |
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75) | |
</code> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.mulesoft.dmia.example.InputPojo | |
InputPojo sample = new InputPojo() | |
sample.description = "Sample Description" | |
sample.id = 1000 | |
sample.creationTimestamp = System.currentTimeMillis() | |
sample.value1 = "Sample Name" | |
sample.value2 = "Sample un-used value" | |
return sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allow remote debugger connections (Default port is 6666) | |
Mule-3.4$ bin/mule -M-Dmule.debug.enable=true | |
# Change debugger port | |
Mule-3.4$ bin/mule -M-Dmule.debug.enable=true -M-Dmule.debug.port=8888 | |
# Disable timeouts | |
Mule-3.4$ bin/mule -M-Dmule.debug.enable=true -M-Dmule.timeout.disable=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Connector(name = "ldap", schemaVersion = "3.4", friendlyName="LDAP", minMuleVersion="3.4", description="LDAP Connector that allows you to connect to any LDAP server and perform every LDAP operation") | |
@Category(name = "org.mule.tooling.category.core", description = "Components") | |
public class LDAPConnector | |
{ | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.mule.api.annotations.Category; | |
// Endpoint | |
@Category(name = "org.mule.tooling.category.endpoints", description = "Endpoints") | |
// Scope | |
@Category(name = "org.mule.tooling.category.scopes", description = "Scopes") | |
// Component | |
@Category(name = "org.mule.tooling.category.core", description = "Components") |